Commit graph

57 commits

Author SHA1 Message Date
Smirnov Oleksandr
d20081f2b0 refactor(_utils.ts): some renameing, moving requires lines 2023-07-19 23:28:07 +03:00
Smirnov Oleksandr
3e51e15dac refactor(_utils.health): reorganize module 2023-07-19 23:26:38 +03:00
Smirnov Oleksandr
6e70be0ef9 fix: use new _utils api 2023-07-19 23:20:41 +03:00
Smirnov Oleksandr
616474b919 refactor(_utils): change way how it organizes 2023-07-19 23:20:18 +03:00
Smirnov Oleksandr
6dcfe9c9ef refactor(dap): make it all in one file, and make some refactoring 2023-07-19 23:05:27 +03:00
Smirnov Oleksandr
d4734ae69a run stylua 2023-07-19 23:05:17 +03:00
Smirnov Oleksandr
5e7ecf382a refactor(struct_tags): rename M to struct_tags 2023-07-19 22:51:30 +03:00
Smirnov Oleksandr
70fece189d refactor(struct_tags): change way of importting deps 2023-07-19 20:45:46 +03:00
Smirnov Oleksandr
a3201f701e refactor(installer): change api 2023-07-19 20:45:25 +03:00
Smirnov Oleksandr
263692f865 refactor(impl): change api 2023-07-19 20:43:28 +03:00
Smirnov Oleksandr
3e78f86d42 refactor(iferr): change api 2023-07-19 20:26:20 +03:00
Smirnov Oleksandr
36f2006b98 fix(healthchecker): use correct config 2023-07-19 20:24:05 +03:00
Smirnov Oleksandr
af3321f7ea refactor(gotests): use correct config, change way how deps required, fix some typos 2023-07-19 20:23:14 +03:00
Smirnov Oleksandr
55b7304ec6 refactor(config): change way how it handles options 2023-07-19 20:20:04 +03:00
Smirnov Oleksandr
1c0eeb3a86 refactor: move all plugin functionality to init.lua 2023-07-19 19:56:34 +03:00
Smirnov Oleksandr
9d6bc761d4
healthcheck: refactoring, remove deprecation wanings (#35)
* refactor(checkhealth): remove deprecation warnings, complete rewrite

* refactor(checkhealth): rename util file

* style(healthchecker): reformat lua in vim file

* refactor(health): move all report function into table
2023-07-17 18:31:21 +03:00
Elliott Minns
03cabf675c
Resolve Neovim Deprecations for version 0.10 (#26)
* fix deprecation warnings for treesitter parse_query

* use treesitter.query.parse

* fix get_node_text deprecation
2023-05-07 17:56:26 +03:00
Pavel
cc46546a93
Fix typo (#25) 2023-02-01 14:42:26 +02: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
e8fe6c5b15
feat(config): add types annotation (#21) 2022-11-13 12:08:23 +00:00
Smirnov Oleksandr
f835464d7f
Some refactoring (#20)
* feat: move all lua api into `api` module

* feat: remove boilerplate code, add go work suport

* refactor(utils): separete module for health

* refactor(dap): remove copy-paste code

* fix: comment

* chore(lsp): disable type checking

* feat: add `go work` command
2022-10-07 14:31:54 +00:00
Smirnov Oleksandr
d65884b182 Fix linters (#19)
* fix selene

* chore(ci): pin stylua version
2022-09-22 18:20:37 +03:00
Smirnov Oleksandr
aa535e7ed1 feat: add dlv as dep 2022-09-22 17:54:49 +03:00
Smirnov Oleksandr
9f6e94f46f feat(health): add check for nvim-dap 2022-09-22 17:36:14 +03:00
Smirnov Oleksandr
413efcc9f2 feat(dap): fist naive implementaion 2022-09-22 17:28:04 +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
4fee3543e0 fix(config): set default options if user provides empty table 2022-07-05 11:46:20 +03:00
Smirnov Oleksandr
bb494abd1e
Fix health check for nvim 0.7(#13) 2022-07-02 22:30:12 +03:00
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
Smirnov Oleksandr
40a2839eab
feat(config): add base implementation
* feat(config): naive implementation

feat(config): get command for a run from config

* docs: add config

* fix typo [skip ci]

* test: add config
2022-06-27 20:28:35 +03:00
Smirnov Oleksandr
1db0914cfc fix(init): use exist function for test_add 2022-06-27 20:24:49 +03:00
Smirnov Oleksandr
bfbee0f825 fix(gotests): print help message by vim.notify 2022-06-27 16:15:30 +03:00
Smirnov Oleksandr
ebb3894b3b fix(_utils): set notification level 2022-06-27 14:30:02 +03:00
Smirnov Oleksandr
2adbb49064 refactor(_utils): notify by vim.notify in _utils 2022-06-25 12:00:58 +03:00
Smirnov Oleksandr
096bc8e7ee feat: add help messages
feat(goget): add help message

feat(gomod): add help message
2022-06-24 15:28:52 +03:00
Smirnov Oleksandr
0b415c32e8 refactor: migrate to vim.notify from prints 2022-06-24 15:27:08 +03:00
Smirnov Oleksandr
b4fd34ec17 feat(gotests): generate tests only for exported func
docs(gotests): generate test for exported funcs
2022-06-23 13:24:29 +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
70297f28e7 feat(gotests): add generate all tests
docs(gotests): add generate all tests
2022-06-21 17:51:59 +03:00
Smirnov Olexander
acd414d454 feat(health): check on gotests 2022-06-21 17:51:59 +03:00
Smirnov Olexander
8b3c68e38a feat(gotests): add generate one test
docs(gotests): add generate one test
2022-06-21 17:51:59 +03:00
Smirnov Olexander
507ccb6347 feat: add GoGenerate command
feat(health): add gogenerate

docs(gogenerate): add doc
2022-06-21 14:31:37 +03:00
Smirnov Olexander
932c0aa0c3 refactor(installer): return function instead of M 2022-06-17 22:32:41 +03:00
Smirnov Olexander
a87334704c feat(health): check if impl installed 2022-06-16 18:11:29 +03:00
Smirnov Olexander
6fd413c4c2 feat: add impl support
docs: add impl
2022-06-15 13:00:02 +03:00
Smirnov Olexander
04e1af228b feat: add goget support
feat(goget): remove http or https from provided url
2022-06-07 01:35:34 +03:00