Commit graph

92 commits

Author SHA1 Message Date
Smirnov Oleksandr
85f4ae9f57 docs: update readme 2024-03-01 23:17:42 +02:00
Smirnov Oleksandr
04eb2c3d76 docs(config): update 2024-02-28 21:31:26 +02:00
Smirnov Oleksandr
55a7307b78 docs: write some more 2024-02-28 21:24:07 +02:00
Smirnov Oleksandr
1a5d420162 refactor: update docgen script 2024-02-28 19:53:26 +02:00
Smirnov Oleksandr
36112063c2 docs: its only begining 2024-02-28 19:44:35 +02:00
Smirnov Oleksandr
6772d0560b feat: add docs generator 2024-02-28 19:44:24 +02:00
Smirnov Oleksandr
8badd8e63d chore: update taskfile 2024-02-28 18:47:29 +02:00
Smirnov Oleksandr
a5327cc435 chore(ci): add more nvim versions to run on 2024-02-28 18:41:57 +02:00
Smirnov Oleksandr
9b5dfbb12b chore(taskfile): force exiting after tests
because i got infinit ci
2024-02-28 18:40:05 +02:00
Smirnov Oleksandr
13e1e3054d ignore tags that mini.doc gens, but why? 2024-02-28 15:23:45 +02:00
Smirnov Oleksandr
8e15b77044 this could be working but i still cant figure out how to run it 2024-02-28 15:22:48 +02:00
Smirnov Oleksandr
b92e782313 idk how good this idea is 2024-02-28 15:22:20 +02:00
Smirnov Oleksandr
28e1f5689f refactor(api)!: mave tags and gotests api into their sub tables 2024-02-25 01:18:09 +02:00
Smirnov Oleksandr
ebb10e9b90 reformat .editorconfig config 2024-02-11 17:49:13 +02:00
Alex
cdb1cd05a3
Add support for named tests (#50)
* fix(typo): README.md (#47)

* feat: add support for named tests

* test

* tags in table

* debug installer msg

* test

* hardcoded @develop

* get gotests tag from setup()

* update readme

* store install tag in urls table

* removed gotests tag

* update README.md

* remove urls installer index reference

* remove named arg from add_test()

* .

* update README.md

* update README.md

---------

Co-authored-by: Steve M <gearcog@users.noreply.github.com>
2024-02-11 16:35:39 +02:00
Arne Van Maele
8a6f7748ef
fix: fix iferr config (#56) 2024-02-11 01:44:59 +02:00
Smirnov Oleksandr
bbe89312c5 fix(health): check if bin is installed, and added message about treesitter parser 2024-01-12 09:01:56 +02:00
Smirnov Oleksandr
e0a3e70e48
add ability for setting custom tools options (#44)
* feat(gotests): add custom templates support

* feat(struct_tags): add support for custom `transform` option
2023-08-17 19:13:56 +03: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
011769b99b chore(ci): run tests on many versions of nvim 2023-07-22 03:03:09 +03:00
Smirnov Oleksandr
4af6caed6b fix(dap): now dlv uses cmd to run from config 2023-07-22 03:00:00 +03:00
Smirnov Oleksandr
5f8466d043
run tests independent of user nvim setup (#39)
* chore(lua_ls): now lua_ls knows about testing functions

* spec: change way how tests srtuctured

* test(config): refactor tests

* test: utils

* refactor(utils): remove not used function

* chore(ci): add test runner

* chore(ci): remove taskfile from deps

* fix: now it works
2023-07-21 02:57:46 +03:00
Smirnov Oleksandr
b5327cd2eb feat(config): make it optional to call .setup() 2023-07-20 19:53:15 +03:00
Smirnov Oleksandr
1841aede91 chore: update taskfile, and linter config 2023-07-20 19:51:02 +03:00
Smirnov Oleksandr
3b0888ab10 fix(config): now it works correctly 2023-07-20 19:40:12 +03:00
Smirnov Oleksandr
eac5560200 fix(config): now it not removes .setup() from itself after calling
.setup()
2023-07-20 00:36:16 +03:00
Smirnov Oleksandr
e49f3fadd7 remove editorconfig-checker 2023-07-20 00:21:15 +03:00
Smirnov Oleksandr
3d49d58fd2 feat: run tests independent from user's nvim config 2023-07-20 00:18:13 +03:00
Smirnov Oleksandr
bc3ce343a8
update tooling (#38)
* chore: delete pre-commit

* chore: switch from makefile to taskfile

* chore(ci): update and add one more linter

* chore(editorconfig): add config for Go

* chore(editorconfig): remove max_line_length

* fix: editorconfig-check on README.md
2023-07-20 00:11:59 +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
94250bb08a
add editorconfig (#36) 2023-07-17 18:32:24 +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
Smirnov Oleksandr
c7b061b124 add stand with Ukraine banner
yeah, I'm a Ukrainian and I don't know what i didn't it before
2023-05-01 15:01:45 +03:00
Pavel
cc46546a93
Fix typo (#25) 2023-02-01 14:42:26 +02:00
Smirnov Oleksandr
b5c3358521
refactor tests (#23)
* fix: add `nvim-dap` as test dep. fix makefile

* refactor(spec): struct_tags
2022-12-19 12:27:39 +02:00
Smirnov Oleksandr
1363d55056 refactor: change minimal spec config 2022-12-19 11:52:07 +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
93be1b1d6f docs(dap): add 2022-09-22 17:39:06 +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
80d0659425 docs: add a contributing section in the readme
I forgot to do this in the last commit. F...
2022-07-11 23:38:42 +03:00
Smirnov Oleksandr
94f5b61012 docs: add contributing guide 2022-07-11 23:35:54 +03:00
Smirnov Oleksandr
e4942aa070 docs(iferr): add to config & tools 2022-07-07 14:25:11 +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