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