Commit Graph

32 Commits (df512d695fb711ee70633aa626e39df2e9221471)

Author SHA1 Message Date
rayx 32f103258b
Gotest refactor (#102)
* 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>
2 years ago
ray-x dbfde6ea1b fix double close when end dap session 2 years ago
ray-x ed3dfb85b2 Breaking changes for GoDebug, deprecate old argument and using linux style command line arguments 3 years ago
ray-x d98d4e9eda better error message for dlv; dlv attach mode 3 years ago
ray-x 180e44ac07 handle nil 3 years ago
ray-x a853613467 use `-1` for random port 3 years ago
ray-x ee3c36e25d allow config debug port 3 years ago
ray-x 22fe0379de check dap module before disconnect dap 3 years ago
ray-x 0d5f1c9f31 add health.lua 3 years ago
ray-x 2869c5b8fc Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json 3 years ago
ray-x ff9a34bffb issue #71 session and restart for the debugger 3 years ago
ray-x ca1d46b4ab prevent re-launch dap 3 years ago
ray-x 264efc57c1 issue #65 failed to run coverage tests. Notify updates. 3 years ago
Craig Rodrigues 483b56f4a2
Replace print() with vim.notify() (#64) 3 years ago
ray-x db819954d3 Add GoCodeAction, GUI with guihua.lua and vim.ui.select() 3 years ago
ray-x 124d2e269c dap_debug_keymap missing issue #57 3 years ago
ray-x 3329238deb code action with telescope, dap debug restart 3 years ago
ray-x 4611c34548 updates for dapui 3 years ago
ray-x 1b11f52b08 updates for dap.ui 3 years ago
Vincent Xiao 21017717c1
Support multiple files on GoDebug (#44)
Running `GoDebug` on `main()` will fail if there are multiple files in `package main` since the other files won't be compiled along with the target file.
3 years ago
ray-x 0dc7b57f6f windows path issue #40 3 years ago
ray-x 39a66c3534 dap sign #35 3 years ago
Aleš Brelih d9f44a9320
feat: default build tags (#38)
* 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>
3 years ago
ray-x 200dcd22e4 Allow test nearest function 3 years ago
ray-x 2cf2a1b36c Dap debug: change workspaceFolder to relativeFileDirname 3 years ago
schwartx 7de6a600f2
using dlv no output fix (#25) 3 years ago
Ryder ab0b8c5b2c
fix: deprecated dap.stop (#22) 3 years ago
ray-x 9df90c86d5 ignore error messages when unmap keybind for DAP 3 years ago
ray-x b499269a9d Fix: unmap key, command 3 years ago
ray-x a65af41408 [Breaking] Rename commands(GoFillStruct GoFillSwitch, Goiferr) 3 years ago
ray-x 8bbabcbbbb verify both `GoDebug test` and `GoDebug` 3 years ago
ray-x de17b1154f add dap.lua for keybind and default setup 3 years ago