* feat(utils): first impl of own commands runner * refactor(gotests): uses own runner instead of vendored * refactor(utils): back to plenary.job * refactor(gotests): use new runner, clean code * fix(runner): now it returns output correctly * refactor(iferr): use vim.system i have tried to use _utils.runner, but i can't figure out how to make `< file.go` for the command * refactor(impl): use new runner * refactor(installer): use new runner * refactor(struct_tags): use new runner * refactor: commands such as :GoGet runs with new runner * refactor: throw errors in more lua way, i think * refactor(utils): notify now has title * refactor: use more correct way of notifying * refactor(runner): write error message on error
13 lines
753 B
VimL
13 lines
753 B
VimL
command! -nargs=* GoTagAdd :lua require"gopher".tags_add(<f-args>)
|
|
command! -nargs=* GoTagRm :lua require"gopher".tags_rm(<f-args>)
|
|
command! GoTestAdd :lua require"gopher".test_add()
|
|
command! GoTestsAll :lua require"gopher".tests_all()
|
|
command! GoTestsExp :lua require"gopher".test_exported()
|
|
command! -nargs=* GoMod :lua require"gopher".mod(<f-args>)
|
|
command! -nargs=* GoGet :lua require"gopher".get(<f-args>)
|
|
command! -nargs=* GoWork :lua require"gopher".work(<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! GoIfErr :lua require"gopher".iferr()
|
|
command! GoInstallDeps :lua require"gopher".install_deps()
|