Commit Graph

220 Commits (df512d695fb711ee70633aa626e39df2e9221471)

Author SHA1 Message Date
ray-x 2869c5b8fc Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json 3 years ago
ray-x 85f2300e72 issue #75, better default package path for tests 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
Craig Rodrigues 817eb44890
Put options in same order in README.md, go.lua (#74) 3 years ago
ray-x d2f5f9c683 Merge master 3 years ago
ray-x 37b9a66dc2 default debug/dlv keymap to true 3 years ago
ray-x e232ed38e6 doc update for test_runner 3 years ago
ray-x 29960fe775 ANSI color remove for quickfix 3 years ago
ray-x 0493df8b44 go 1.18beta 3 years ago
Craig Rodrigues 60e0659d50
Set dap_debug_keymap to true by default (#73) 3 years ago
Craig Rodrigues a54f5d452f
Put options in same order in README.md, go.txt, go.lua (#72) 3 years ago
ray-x 6a228e05cb allow doc argument to be nil 3 years ago
ray-x 2a096a93c1 Default GoDoc to lsp hover if no arguments are provided 3 years ago
ray-x bd25255d03 fallback to package test, argument and notify 3 years ago
ray-x 310339cbc5 floatterm width ceiling 3 years ago
ray-x 88ef38d88b issue #68 golangci-lint handle error message 3 years ago
ray-x 264efc57c1 issue #65 failed to run coverage tests. Notify updates. 3 years ago
ray-x 192486892b bugfix #65 coverage failed 3 years ago
ray-x 437748a09f update impl, CLI complete 3 years ago
Craig Rodrigues 483b56f4a2
Replace print() with vim.notify() (#64) 3 years ago
Craig Rodrigues 3a35bff71e
Add warning if lsp_cfg is false, but lsp_on_attach is not nil (#63) 3 years ago
ray-x 4c0a400956 update on_attach no longer support bool 3 years ago
Craig Rodrigues eebe136396
Make lsp_on_attach nil by default (#62)
Clarify lsp_on_attach in the docs.
3 years ago
ray-x f53e130370 lsp_on_attach default to false 3 years ago
ray-x 3fe0c3eded gopls filetypes update 3 years ago
Craig Rodrigues d18ac7460a
Add gopls to GoInstallBinaries/GoUpdateBinaries (#60) 3 years ago
ray-x 6d6b3afc3b add gotexttmpl and gohtmltmpl support for gopls 3 years ago
ray-x 14ad56d297 cleanup logs 3 years ago
ray-x 9be4a230fe typo :( 3 years ago
ray-x 3fe53eaf13 use latest version of codelens api, allow to hook guihua.lua 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 c7c3ab885a better workfolder 3 years ago
ray-x 47866b4847 some cleanup and use list instead of string for jobsstart 3 years ago
ray-x 4484f167d6 bugfix #56 escape '<space>' and '-' 3 years ago
ray-x 2d7e23b72b return gopls setup so we can use in nvim-lsp-installer, issue #56 escape '-' 3 years ago
ray-x 84c5ce26f3 GoVet command 3 years ago
ray-x 64460e4f88 Add GoVet, update errorformat for issue #55 3 years ago
ray-x 45348a8c83 bugfix #54 quickfix position 3 years ago
ray-x 1aab3bcea0 add go.txt 3 years ago
ray-x 6574dd2e6b add textobject default setup, doc updates 3 years ago
ray-x 7f625aceca stylua/selene gotest update 3 years ago
ray-x 6e87d834a4 efm format for quickfix; golangci-lint efm setup 3 years ago
ray-x 8712f31898 golangci-lint quickfix 3 years ago
ray-x cac2016243 update delay to make test happy 3 years ago
ray-x 7d39be9431 add gobinaryinstall/update issue #49 3 years ago
ray-x 0bc7abace6 bug fix for github workflow 3 years ago
ray-x 4eeafad97e issue #47 3 years ago
ray-x a038113bad add default to highlight command to prevent overrule 3 years ago
ray-x 3329238deb code action with telescope, dap debug restart 3 years ago
Aleš Brelih cfeab3d398
fix: build tags was missing space (#46)
* 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>
3 years ago
ray-x 4611c34548 updates for dapui 3 years ago
ray-x 1b11f52b08 updates for dap.ui 3 years ago
ray-x ef332025ce allow return value for test 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 f59422008a Add warn messages 3 years ago
ray-x ec91d9915f Add command autocomplete 3 years ago
Hank Donnay 51f4d41363
fix syntax error in default GoTest command (#41) 3 years ago
ray-x 8f075be252 Allow rename with gopls when lsp is ready 3 years ago
ray-x 165714cfea allow godoc focusable 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 37a4cfb1ad issue #35 config break sign 3 years ago
ray-x 94d4baac31 nvim 5.1 3 years ago
ray-x f339373ed4 test udpate 3 years ago
ray-x 6385a1a53f lua format 3 years ago
Viktor Kojouharov b09f8354bf
Make formatting sync during import (#32)
With sync formatting, the function can be used in BufWritePre without the buffer ending up modified the save.
3 years ago
ray-x 569e8e4320 Update reftool and fillstruct 3 years ago
ray-x 7feb745e6c remove gofumport from go.nvim #18 3 years ago
ray-x 3fc75ca46a refact fillstruct and codeaction add GoFixPlurals 3 years ago
ray-x 54dea272d1 #31 expose bufnr to ts APIs 3 years ago
ray-x 8c3abfb9f2 go doc command with floating preview 3 years ago
ray-x d6c4cf570a add % before special char to string match 3 years ago
ray-x 1988bf39ae LSP api changes https://github.com/neovim/neovim/pull/15504 3 years ago
ray-x c9a07b85cb support lsp API changes neovim/pull/15504 3 years ago
ray-x c984ce7757 update gotest it will output to buffer 3 years ago
ray-x ee0d43ce5c merge github workflow and goimport fix 3 years ago
ray-x 8ea0ff1d3a commit 3 years ago
ray-x 5c5b102b93 arguments 3 years ago
ray-x c67b1c8912 revert changes 3 years ago
ray-x 00a7405904 save file 3 years ago
ray-x da9cd35645 gopls 2s 3 years ago
ray-x d6f0249023 format 3 years ago
ray-x b517d7a6b9 updates 3 years ago
ray-x 6cb17285ff save 3 years ago
ray-x bdce678adf sequences 3 years ago
ray-x af25e1e2e7 goimport cleanup 3 years ago
ray-x 6e6446c45f sequence 3 years ago
ray-x eb74902ba9 sequence 3 years ago
ray-x 446f4e6b94 fix gofmt 3 years ago
ray-x 85b587fada gopls setup 3 years ago
ray-x c6b391a303 format 3 years ago
ray-x e4abbb80ea format 3 years ago
ray-x 82fc245d78 comment out 3 years ago
ray-x cf8ca142e1 clean up 3 years ago
ray-x 79563afa49 go setup 3 years ago
ray-x 81c92c5362 merge master 3 years ago
ray-x 766fd37327 print errors 3 years ago