Commit Graph

77 Commits (63d81679d06bff33e3f24bca76f513cadac2f64c)

Author SHA1 Message Date
ray-x 4c66365aa2 Add GoModeTidy and GoModeVendor 2 years ago
Darkclainer 0ca3de9f84
Fix gotests integration (#87)
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)
2 years ago
ray-x c622c27bf8 doc updates 2 years ago
ray-x c9359bb14d Allow lsp diagnostic setup passed from outside 2 years ago
ray-x edbd796ded Add GoStop command to stop the background task started with GoRun 2 years ago
ray-x 2b059afc54 GoGet 2 years ago
ray-x a853613467 use `-1` for random port 2 years ago
ray-x ee3c36e25d allow config debug port 2 years ago
ray-x cd395e96fb setup option to disable gopls doc format 2 years ago
ray-x 2869c5b8fc Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json 2 years ago
Craig Rodrigues 817eb44890
Put options in same order in README.md, go.lua (#74) 2 years ago
ray-x d2f5f9c683 Merge master 2 years ago
ray-x 37b9a66dc2 default debug/dlv keymap to true 2 years ago
ray-x e232ed38e6 doc update for test_runner 2 years ago
ray-x 0493df8b44 go 1.18beta 2 years ago
Craig Rodrigues 60e0659d50
Set dap_debug_keymap to true by default (#73) 2 years ago
Craig Rodrigues a54f5d452f
Put options in same order in README.md, go.txt, go.lua (#72) 2 years ago
ray-x 6a228e05cb allow doc argument to be nil 2 years ago
ray-x 2a096a93c1 Default GoDoc to lsp hover if no arguments are provided 2 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
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 db819954d3 Add GoCodeAction, GUI with guihua.lua and vim.ui.select() 3 years ago
ray-x 84c5ce26f3 GoVet command 3 years ago
ray-x 6574dd2e6b add textobject default setup, doc updates 3 years ago
ray-x 8712f31898 golangci-lint quickfix 3 years ago
ray-x 7d39be9431 add gobinaryinstall/update issue #49 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
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 165714cfea allow godoc focusable 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 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 8c3abfb9f2 go doc command with floating preview 3 years ago
ray-x c984ce7757 update gotest it will output to buffer 3 years ago
ray-x e17b25eee7 #26 add goimports -local support 3 years ago
ray-x 200dcd22e4 Allow test nearest function 3 years ago
ray-x b96cdefea3 Add go coverage 3 years ago
ray-x c28fa04029 merge github action/workflow 3 years ago
ray-x 989be3f213 update lspconfig setup; add sample vimrc, add codelens config 3 years ago
ray-x ef1f2bb7cc Feature: Show code lens and add support for run code len action 3 years ago
ray-x 7694511159 Merge and update for gopls & gopls import code action 3 years ago
Ryder ab0b8c5b2c
fix: deprecated dap.stop (#22) 3 years ago