refactor of public plugin's api (#37)
* refactor: move all plugin functionality to init.lua * fix(commands): now it uses correct module paths * refactor(config): change way how it handles options * refactor(gotests): use correct config, change way how deps required, fix some typos * fix(healthchecker): use correct config * refactor(iferr): change api * refactor(impl): change api * refactor(installer): change api * refactor(struct_tags): change way of importting deps * refactor(struct_tags): rename M to struct_tags * run stylua * refactor(dap): make it all in one file, and make some refactoring * refactor(_utils): change way how it organizes * fix: use new _utils api * refactor(_utils.health): reorganize module * refactor(_utils.ts): some renameing, moving requires lines * run stylua
This commit is contained in:
parent
94250bb08a
commit
26b41bf68c
18 changed files with 359 additions and 341 deletions
|
|
@ -1,13 +1,13 @@
|
|||
command! -nargs=* GoTagAdd :lua require"gopher.api".tags_add(<f-args>)
|
||||
command! -nargs=* GoTagRm :lua require"gopher.api".tags_rm(<f-args>)
|
||||
command! -nargs=* GoTestAdd :lua require"gopher.api".test_add(<f-args>)
|
||||
command! -nargs=* GoTestsAll :lua require"gopher.api".tests_all(<f-args>)
|
||||
command! -nargs=* GoTestsExp :lua require"gopher.api".test_exported(<f-args>)
|
||||
command! -nargs=* GoMod :lua require"gopher.api".mod(<f-args>)
|
||||
command! -nargs=* GoGet :lua require"gopher.api".get(<f-args>)
|
||||
command! -nargs=* GoWork :lua require"gopher.api".work(<f-args>)
|
||||
command! -nargs=* GoImpl :lua require"gopher.api".impl(<f-args>)
|
||||
command! -nargs=* GoGenerate :lua require"gopher.api".generate(<f-args>)
|
||||
command! GoCmt :lua require"gopher.api".comment()
|
||||
command! GoIfErr :lua require"gopher.api".iferr()
|
||||
command! GoInstallDeps :lua require"gopher.api".install_deps()
|
||||
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=* 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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue