First commit for luasnip
Most of the snip code is from this repo shark
and TJ's neovim setup config_manager
and ziontee113
* add luasnip for go
* move command out to a dedicated function
* update ts node spec format
* bugfix alternate file
* Bring in more snippets
* updates for mockery 2.11
* snips for http handler and more
* update doc
* bench test
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
* fix: append check if val is nil
Add check to see if value is empty. And don't add to path if already in
path.
Signed-off-by: Davincible <david.brouwer.99@gmail.com>
* feat: auto run main module in floating term
Add check to see if floating term, to auto run main file
Signed-off-by: Davincible <david.brouwer.99@gmail.com>
* Update asyncmake.lua
no need to show a notification as there is another one once the program is finished.
Co-authored-by: rayx <rayx.cn@gmail.com>
New feature.
It shows all public symbols inside a go package with a side panel.
Also refer https://github.com/golang/go/issues/37237 for some workaround
* add side_panel for go package
* Add command GoPkgInfo
* multi lines hint
* allow refresh when buffer write happed
* remove node of receiver
* update treesitter queries for better panel display
* variadic args
* feat: added command to close floating term
* feat: automatically close previous float term
* Update go.lua
remove auto complete
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
* issue #82 allow close terminal in current buffer
* update go test arguments
* auto complete args updates based on @Craig Rodgigues feedbacks
* update test arguments
* Return cursor to previous cursor position (#101)
`GoGet` and `GoMod` opens up a new split and move the cursor there.
If the cursor isn't moved back to the *.go buffer, `utils.restart`
will try to spawn gopls in the terminal split, which results in
gopls failed to restart properly.
* fix double close when end dap session
* add relFileDir in launch.json
* update sample go app
* fix: remove cover file (#107)
* fix: remove cover file
* fix: coverage notify message
* github action setup for go 1.18
* issue #109 config dap marker
* setup pipeline with go install
* add icons setup options in doc issue #35 issue #109
Co-authored-by: Mochammad Hanif R <etrnal70@gmail.com>
Co-authored-by: Nicolas Barbosa <ndevbarbosa@gmail.com>
GoAddTest, GoAddExpTest and GoAddAllTest affected.
Previously they weren't work with templates (go_nvim_test_template
variable) because file paths should be last argument to gotests.
Also removed different handling of stdout/stderr because seems that
gotests doesn't use stderr or produce any exit code except zero (that
probably OK, but not useful for go.nvim).
Also fixed README.md: description of GoAddTest, GoAddExpTest and
GoAddAllTest and setup example (go.nvim doesn't default test_template to
testify)