* snips
* update ts node spec format
* luasnip up and running
* bugfix alternate file
* Bring in more snippets
* updates for mockery 2.11
* snips for http handler and more
* update doc
* bench test
* for snips
* update treesitter query and api
* refact get_xxx_at_cursor
* update test spec
* update row to vim range
* update col number
* remove comments
* merge conflicts
* 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>
Test file function wasn't working anymore. It didn't find functions to
test even though the sed found them.
Problem was in the escaping the pipe sign.
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
The default package parameter for TestFun is not needed because this
function is meant to target the current file only. Using the default
package parameter increased run time of time function drastically.
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
* fix: build tags was missing space
* if run in floaterm, '\ ' may cause error
Thanks for the PR. I did some update please check if it works
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
* feat: default build tags
Added option to specify default build tags for test and debugger.
* Update dap.lua
check if _GO_NVIM_CFG.build_tags ~= "" then
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>