Commit graph

21 commits

Author SHA1 Message Date
Alex Malykh
e1db4d4c23 get gotests tag from setup() 2023-11-23 18:38:41 +04:00
Alex Malykh
fc14dee1be hardcoded @develop 2023-11-23 18:34:47 +04:00
Alex Malykh
3146bffee9 test 2023-11-23 18:33:07 +04:00
Alex Malykh
ead7c15ec7 debug installer msg 2023-11-23 18:31:37 +04:00
Alex Malykh
3c9c9c9abb tags in table 2023-11-23 18:27:56 +04:00
Smirnov Oleksandr
2e89cea6f3 refactor: commands runner (#42)
* 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
2023-08-10 12:11:26 +03:00
Smirnov Oleksandr
26b41bf68c
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
2023-07-19 23:38:23 +03:00
Smirnov Oleksandr
2f0edbfdfc
refactor: move requires in place where they used (#22)
* refactor(comment): move require to a function

* refactor(gotests): move requires inside of functions

* refactor(health): move requires inside of function

* refactor(iferr): move requires inside of a function

* refactor(impl): move some requires inside of functions

* refactor(installer): move requires inside of function

* refactor(struct_tags): move requires into function

* refactor(dap): move import into function

* refactor(utils): move import into functions
2022-12-19 11:47:43 +02:00
Smirnov Oleksandr
aa535e7ed1 feat: add dlv as dep 2022-09-22 17:54:49 +03:00
Smirnov Oleksandr
eb19ecdc05
Add iferr integration (#15)
* feat(iferr): add to installer & config

* feat(iferr): add first implementation

* docs(iferr): add
2022-07-07 14:19:07 +03:00
Smirnov Oleksandr
4b83da6d7f style: reformat all lua code 2022-07-07 14:09:48 +03:00
Smirnov Oleksandr
0b415c32e8 refactor: migrate to vim.notify from prints 2022-06-24 15:27:08 +03:00
Smirnov Oleksandr
c5096aacc0 fix(installer): update gotests path 2022-06-23 13:17:46 +03:00
Smirnov Oleksandr
5642af746b fix(installer): run commands without timeout 2022-06-23 13:09:24 +03:00
Smirnov Olexander
250d4de718 refactor: add comments & update type anotation 2022-06-22 14:42:14 +03:00
Smirnov Olexander
c1de269ef4 feat(installer): add gotests 2022-06-21 17:58:10 +03:00
Smirnov Olexander
932c0aa0c3 refactor(installer): return function instead of M 2022-06-17 22:32:41 +03:00
Smirnov Olexander
6fd413c4c2 feat: add impl support
docs: add impl
2022-06-15 13:00:02 +03:00
Smirnov Olexander
303b539475 feat: add gomodifytags support 2022-05-30 23:34:09 +03:00
Smirnov Olexander
ca1bc4bd06 fix(installer): check return command value 2022-05-30 23:33:14 +03:00
Smirnov Olexander
7fc01485e7 Initial commit 2022-05-30 15:44:12 +03:00