gopher.nvim/plugin/gopher.vim
Smirnov Oleksandr 0fcdceeb89
Add comment generator (#10)
* feat(_utils.ts): get package

* feat(_utils.ts): get interface

* feat(_utils.ts): update type annotations

* feat(comments): first naive implementation

* docs: add comment [skip ci]
2022-06-30 12:00:13 +03:00

11 lines
697 B
VimL

command! -nargs=* GoTagAdd :lua require"gopher".tags_add(<f-args>)
command! -nargs=* GoTagRm :lua require"gopher".tags_rm(<f-args>)
command! -nargs=* GoTestAdd :lua require"gopher".test_add(<f-args>)
command! -nargs=* GoTestsAll :lua require"gopher".tests_all(<f-args>)
command! -nargs=* GoTestsExp :lua require"gopher".test_exported(<f-args>)
command! -nargs=* GoMod :lua require"gopher".mod(<f-args>)
command! -nargs=* GoGet :lua require"gopher".get(<f-args>)
command! -nargs=* GoImpl :lua require"gopher".impl(<f-args>)
command! -nargs=* GoGenerate :lua require"gopher".generate(<f-args>)
command! GoCmt :lua require"gopher".comment()
command! GoInstallDeps :lua require"gopher".install_deps()