* 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)
* 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>