commits
* chore: fix minimal_init, load default plugins correctly
* refactor(ts): make it work on nightly
* chore: get nightly back in ci
* fix(tests): some how i now i need to run vim.treesitter.start() to make it work
* feat(ts): check if parser is found
* chore: use --clean instead --noplugin
* refactor(tests): use auto commands instead of putting it in each test
* chore: show the diff of the doc
* chore: add @dochide annotation
- it's easier to distinguish @private and something i dont want to see in docs
* docs: update
* refactor: move thing out to utils
* fix: lua-ls error
* fixup! refactor: move thing out to utils
* docs: update
* feat(tests): add utils that does most of tests boilerplate
* refactor(tests): rewrite using new thing
* refactor(tests): clean up everywhere
* refactor(tests): remove boilerplate even further
* refactor(tests): soon it will be too far
* refactor(tests): some test renaming
* refactor(commands)!: change the way of disabling commands
BREAKING CHANGE: not it does not require calling .setup()
* docs: update docs
BREAKING CHANGE: now calling .setup is required
* fix(struct_tags): edge case with structs declared as var
* test: test it and fix it
* fixup! test: test it and fix it
* fixup! fix(struct_tags): edge case with structs declared as var
* fixup! test: test it and fix it
* refactor(utils): remove unused function
* fix(installer): actually pass what should be passed
* docs: add explanation comment
* test: add utils
* refactor(utils): flatten the dir of files
* remove .luarc
* refactor: remove autoload
* since nvim 0.9 health.lua files are threaded as checkhealth provider
* prof of concept
* fix(runner.gocmd)!: i forgot to update it when i was working on #85
* fix(plugin): now commands register properly
* fix(plugin): fix command name for :GoIfErr
* fix(plugin): respect `setup_commands` option
* docs: update
* refactor(plugin): use vim.schedule
* docs: update CONTRIBUTING
* refactor(installer): automatically install gotests@develop
* docs: update
* refactor(struct_tags): finally my hands got to this
* feat(struct_tags): trim output
* feat(struct_tags): add :GoTagClear
* docgen
* refactor(struct_tags): error on out-of-bounds
* feat(struct_tags): add support for working with multiple tags at the once
* test(struct_tags): test both possible inputs
* refactor(struct_tags): add type annotation, dont force write
* refactor(struct_tags): optimization ig
* docs: fix
* fixup! refactor(struct_tags): add type annotation, dont force write
* task docgen
---------
Co-authored-by: Oliver <1571880470@qq.com>
* refactor(ts_utils): i dont know why event it was here
* fix: typos
* fix(struct_tags)!: remove statement that i used for debug
* refactor(ts_util): start from scratch
* refactor(struct_tags): use new ts_util
* fixup! refactor(struct_tags): use new ts_util
* test(struct_tags): add support for multiple structs
* fix(gotests): use new api
* fix(impl): refactor some logic, use new api
* docs(ts): add an explanation
* refactor(_utils.ts): all public methods are just adapters
* fix(comment): now it works
* fixup! refactor(_utils.ts): all public methods are just adapters
* fixup! fixup! refactor(_utils.ts): all public methods are just adapters
* test(comment): e2e
* tests(comment): fix
* refactor(utils.ts): fix, docs
* test(comment): fix tests again
* fix(tests/comments): well, now i fell stupid
* refactor(ts): add assert just to be sure that all elements are in the result
* fix(ts): type annotations
* fix(ts): pass bufnr to vim.treesitter.get_node
* chore(ci): disable nightly
* chore(ci): reorganize
* chore(ci)!: use rolling stable version of nvim
* fix(ci): use correct version on doc check
* feat(iferr): add *-message* support
* generate docs
* chore: add doc checking thing
* testing
* Revert "testing"
This reverts commit ae0618d89f4cff036d307ffeb5f242ff37f58c01.
* feat(struct_tags): add config option for default tag
* docs: docgen
* fix(struct_tags): as it turns out it didnt work as i supposed to before, but now it does
* refactor!: migrate to vim.system
* refactor(gotests): use vim.system
* refactor(iferr): use vim.system
* refactor(impl): use vim.system
* refactor(installer): use vim.system and add sync mode
* test: fix gotests' tests
* refactor(struct_tags): use vim.system
* chore(ci): install all deps explicitly
* refactor(installer)!: add sync as an option
* docs: update readme
* docs(gotests): update and fix
* fix(health): typos
* docs(impl): update and fix typos
* docs(config): typos
* docs(iferr): update
* typos
* docs(struct_tags): update
* docs: fix typos
* docs: Capitalization
* docgen
* chore: setup mini.test
* chore(ci): setup new test runner, install plugin deps
* chore(ci): test only on stable and nightly releases
* test: iferr
* test: struct_tags
* test: impl
* test: gotests
* 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
* add editorconfig (#36)
* 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
* 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
* feat: run tests independent from user's nvim config
* remove editorconfig-checker
* fix(config): now it not removes .setup() from itself after calling
.setup()
* fix(config): now it works correctly
* chore: update taskfile, and linter config
* feat(config): make it optional to call .setup()
* 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
* fix(dap): now dlv uses cmd to run from config
* chore(ci): run tests on many versions of nvim
* 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
* add ability for setting custom tools options (#44)
* feat(gotests): add custom templates support
* feat(struct_tags): add support for custom `transform` option
* fix(health): check if bin is installed, and added message about treesitter parser
* fix: fix iferr config (#56)
* 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>
* reformat .editorconfig config
* refactor(api)!: mave tags and gotests api into their sub tables
* add help file, and docs (#59)
* idk how good this idea is
* this could be working but i still cant figure out how to run it
* ignore tags that mini.doc gens, but why?
* chore(taskfile): force exiting after tests
because i got infinit ci
* chore(ci): add more nvim versions to run on
* chore: update taskfile
* feat: add docs generator
* docs: its only begining
* refactor: update docgen script
* docs: write some more
* docs(config): update
* docs: update readme
* language
* hope it would work
* what about that?
* maybe this would work?
* update md
* upd
* WHY DOESNT IT WORKING
* idk by but 0.9.3 just fails the ci, so i deleted it from suite
* again update, why does markdown not work in embeded html
* maybe it can help?
* upd
* again update
* kinda fix
* fix: formatting
* again some updating
* some readme updating
* fix, this shouldnt be in repo
* i finnaly undertood how to fix this fking skill issue
* fix(struct_tags): typo
* refactor(docs): change the order in generated file
* docs: install deps
* refactor(scripts): rename doc-gen script
* docs(impl): write docs
* docs(dap): add doc
* stylua .
* docs(struct_tags): add doc
* docs(gotests): add docs
* docs(iferr): add docs
* docs(comment): add doc
* update CONTRIBUTING.md
* docs(README): talk about `develop` branch
* docs: update README.md
* refactor(health): keep in mind new way of health check (#63)
* feat: add logger (#64)
* refactor(health): keep in mind new way of health check (#63)
* feat(log): add logger module
* refactor(utils): remove unused code
* refactor(log, utils): get plugin name from config
* refactor(logger): add some type annotations
* refactor(utils): log notifications
* feat: LOGGER™
* feat(config): TYPES
* refactor(log): dont give a thing about var that is not even declared
* feat(log): add easy way to open log
* refactor(log): some types
* update types
* docs: regen
* fix(log): make setting log level by config work
* feat(iferr): write error to log file if occur
* feat(gotests): add logger
* add deprecation message (#67)
---------
Co-authored-by: Arne Van Maele <93863978+arnevm123@users.noreply.github.com>
Co-authored-by: Alex <49870662+ysomad@users.noreply.github.com>
Co-authored-by: Steve M <gearcog@users.noreply.github.com>
* fix deprecation warnings for treesitter parse_query
* use treesitter.query.parse
* fix get_node_text deprecation
yeah, I'm a Ukrainian and I don't know what i didn't it before
* fix: add `nvim-dap` as test dep. fix makefile
* refactor(spec): struct_tags
* 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
* 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
I forgot to do this in the last commit. F...
* feat(iferr): add to installer & config
* feat(iferr): add first implementation
* docs(iferr): add
* 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]
* feat(config): naive implementation
feat(config): get command for a run from config
* docs: add config
* fix typo [skip ci]
* test: add config
feat(goget): add help message
feat(gomod): add help message
docs(gotests): generate test for exported funcs
* chore: fix minimal_init, load default plugins correctly
* refactor(ts): make it work on nightly
* chore: get nightly back in ci
* fix(tests): some how i now i need to run vim.treesitter.start() to make it work
* feat(ts): check if parser is found
* chore: use --clean instead --noplugin
* refactor(tests): use auto commands instead of putting it in each test
* chore: show the diff of the doc
* refactor: remove autoload
* since nvim 0.9 health.lua files are threaded as checkhealth provider
* prof of concept
* fix(runner.gocmd)!: i forgot to update it when i was working on #85
* fix(plugin): now commands register properly
* fix(plugin): fix command name for :GoIfErr
* fix(plugin): respect `setup_commands` option
* docs: update
* refactor(plugin): use vim.schedule
* docs: update CONTRIBUTING
* refactor(struct_tags): finally my hands got to this
* feat(struct_tags): trim output
* feat(struct_tags): add :GoTagClear
* docgen
* refactor(struct_tags): error on out-of-bounds
* feat(struct_tags): add support for working with multiple tags at the once
* test(struct_tags): test both possible inputs
* refactor(struct_tags): add type annotation, dont force write
* refactor(struct_tags): optimization ig
* docs: fix
* fixup! refactor(struct_tags): add type annotation, dont force write
* task docgen
---------
Co-authored-by: Oliver <1571880470@qq.com>
* refactor(ts_utils): i dont know why event it was here
* fix: typos
* fix(struct_tags)!: remove statement that i used for debug
* refactor(ts_util): start from scratch
* refactor(struct_tags): use new ts_util
* fixup! refactor(struct_tags): use new ts_util
* test(struct_tags): add support for multiple structs
* fix(gotests): use new api
* fix(impl): refactor some logic, use new api
* docs(ts): add an explanation
* refactor(_utils.ts): all public methods are just adapters
* fix(comment): now it works
* fixup! refactor(_utils.ts): all public methods are just adapters
* fixup! fixup! refactor(_utils.ts): all public methods are just adapters
* test(comment): e2e
* tests(comment): fix
* refactor(utils.ts): fix, docs
* test(comment): fix tests again
* fix(tests/comments): well, now i fell stupid
* refactor(ts): add assert just to be sure that all elements are in the result
* fix(ts): type annotations
* fix(ts): pass bufnr to vim.treesitter.get_node
* chore(ci): disable nightly
* chore(ci): reorganize
* refactor!: migrate to vim.system
* refactor(gotests): use vim.system
* refactor(iferr): use vim.system
* refactor(impl): use vim.system
* refactor(installer): use vim.system and add sync mode
* test: fix gotests' tests
* refactor(struct_tags): use vim.system
* chore(ci): install all deps explicitly
* refactor(installer)!: add sync as an option
* docs: update readme
* 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
* add editorconfig (#36)
* 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
* 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
* feat: run tests independent from user's nvim config
* remove editorconfig-checker
* fix(config): now it not removes .setup() from itself after calling
.setup()
* fix(config): now it works correctly
* chore: update taskfile, and linter config
* feat(config): make it optional to call .setup()
* 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
* fix(dap): now dlv uses cmd to run from config
* chore(ci): run tests on many versions of nvim
* 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
* add ability for setting custom tools options (#44)
* feat(gotests): add custom templates support
* feat(struct_tags): add support for custom `transform` option
* fix(health): check if bin is installed, and added message about treesitter parser
* fix: fix iferr config (#56)
* 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>
* reformat .editorconfig config
* refactor(api)!: mave tags and gotests api into their sub tables
* add help file, and docs (#59)
* idk how good this idea is
* this could be working but i still cant figure out how to run it
* ignore tags that mini.doc gens, but why?
* chore(taskfile): force exiting after tests
because i got infinit ci
* chore(ci): add more nvim versions to run on
* chore: update taskfile
* feat: add docs generator
* docs: its only begining
* refactor: update docgen script
* docs: write some more
* docs(config): update
* docs: update readme
* language
* hope it would work
* what about that?
* maybe this would work?
* update md
* upd
* WHY DOESNT IT WORKING
* idk by but 0.9.3 just fails the ci, so i deleted it from suite
* again update, why does markdown not work in embeded html
* maybe it can help?
* upd
* again update
* kinda fix
* fix: formatting
* again some updating
* some readme updating
* fix, this shouldnt be in repo
* i finnaly undertood how to fix this fking skill issue
* fix(struct_tags): typo
* refactor(docs): change the order in generated file
* docs: install deps
* refactor(scripts): rename doc-gen script
* docs(impl): write docs
* docs(dap): add doc
* stylua .
* docs(struct_tags): add doc
* docs(gotests): add docs
* docs(iferr): add docs
* docs(comment): add doc
* update CONTRIBUTING.md
* docs(README): talk about `develop` branch
* docs: update README.md
* refactor(health): keep in mind new way of health check (#63)
* feat: add logger (#64)
* refactor(health): keep in mind new way of health check (#63)
* feat(log): add logger module
* refactor(utils): remove unused code
* refactor(log, utils): get plugin name from config
* refactor(logger): add some type annotations
* refactor(utils): log notifications
* feat: LOGGER™
* feat(config): TYPES
* refactor(log): dont give a thing about var that is not even declared
* feat(log): add easy way to open log
* refactor(log): some types
* update types
* docs: regen
* fix(log): make setting log level by config work
* feat(iferr): write error to log file if occur
* feat(gotests): add logger
* add deprecation message (#67)
---------
Co-authored-by: Arne Van Maele <93863978+arnevm123@users.noreply.github.com>
Co-authored-by: Alex <49870662+ysomad@users.noreply.github.com>
Co-authored-by: Steve M <gearcog@users.noreply.github.com>
* 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
* fix selene
* chore(ci): pin stylua version
feat(goget): add help message
feat(gomod): add help message