commits
* feat(json2go): implement
* feat(json2go): support manual input
* chore(readme): add json2go
* chore(docs): add docs
semi revert of 7c198a1b3673a29e95ffed41c297933ba8467fee
* feat(struct_tags): add options support
* refactor(struct-tags): give input field better name
* feat(struct-tag): add default option
* refactor: make it work on neovim version below 0.12
* chore(struct-tags): update the demo
* refactor: unite struct_tags util with main logic
there's been several issues related to not installed deps: #124, #111,
#108, and more
* refactor(comment): dont use unnecessary function
* chore: quick way to open vim in dev mode
* feat(comment): add comment on on interface method
* feat(comment): add comment on a struct field
* feat(comment): add comment on a variable
* docs: add note about the generate function
* docs: gopher.TsResult
* fix(utils): handle case when indentation is wrong
* chore: add dataset for demos
* chore(demos): add demos
* chore: update CONTRIBUTING
* this copefully will fix comments gif
* feat(struct_tags): add range support
* refactor: use `start`, and `end_` naming for ranges
In my opinion, requiring user to access tests via `T["module_name"]`
was too fragile and typos prone.
* fix(impl): handle case with no arguments provided
* fix(config): validate missing field
* fix(installer): add separate timeout for installer
* refactor(health): remove treesitter from required plugins
* chore: remove nvim-treesitter from dependencies
* chore(health): update messages
* 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
* refactor(comment): dont use unnecessary function
* chore: quick way to open vim in dev mode
* feat(comment): add comment on on interface method
* feat(comment): add comment on a struct field
* feat(comment): add comment on a variable
* docs: add note about the generate function
* docs: gopher.TsResult
* fix(utils): handle case when indentation is wrong
* 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