Commit Graph

106 Commits

Author SHA1 Message Date
ray-x
6d6b3afc3b add gotexttmpl and gohtmltmpl support for gopls 2021-12-18 15:22:27 +11:00
ray-x
14ad56d297 cleanup logs 2021-12-17 17:04:29 +11:00
ray-x
9be4a230fe typo :( 2021-12-17 14:48:41 +11:00
ray-x
3fe53eaf13 use latest version of codelens api, allow to hook guihua.lua 2021-12-17 10:05:37 +11:00
ray-x
db819954d3 Add GoCodeAction, GUI with guihua.lua and vim.ui.select() 2021-12-17 09:59:47 +11:00
ray-x
124d2e269c dap_debug_keymap missing issue #57 2021-12-17 09:02:29 +11:00
ray-x
c7c3ab885a better workfolder 2021-12-16 18:15:21 +11:00
ray-x
47866b4847 some cleanup and use list instead of string for jobsstart 2021-12-16 17:46:52 +11:00
ray-x
4484f167d6 bugfix #56 escape '<space>' and '-' 2021-12-16 12:34:06 +11:00
ray-x
2d7e23b72b return gopls setup so we can use in nvim-lsp-installer, issue #56 escape '-' 2021-12-16 12:23:43 +11:00
ray-x
64460e4f88 Add GoVet, update errorformat for issue #55 2021-12-15 19:02:22 +11:00
ray-x
45348a8c83 bugfix #54 quickfix position 2021-12-15 03:59:14 +11:00
ray-x
1aab3bcea0 add go.txt 2021-12-11 14:56:08 +11:00
ray-x
6574dd2e6b add textobject default setup, doc updates 2021-12-11 14:44:15 +11:00
ray-x
7f625aceca stylua/selene gotest update 2021-12-11 08:45:42 +11:00
ray-x
6e87d834a4 efm format for quickfix; golangci-lint efm setup 2021-12-10 21:13:23 +11:00
ray-x
8712f31898 golangci-lint quickfix 2021-12-10 11:44:08 +11:00
ray-x
7d39be9431 add gobinaryinstall/update issue #49 2021-12-06 21:32:23 +11:00
ray-x
0bc7abace6 bug fix for github workflow 2021-12-02 17:44:22 +11:00
ray-x
4eeafad97e issue #47 2021-12-02 15:04:52 +11:00
ray-x
a038113bad add default to highlight command to prevent overrule 2021-12-01 13:58:08 +11:00
ray-x
3329238deb code action with telescope, dap debug restart 2021-11-30 07:19:45 +11:00
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>
2021-11-29 23:09:30 +11:00
ray-x
4611c34548 updates for dapui 2021-11-24 20:05:02 +11:00
ray-x
1b11f52b08 updates for dap.ui 2021-11-24 10:13:40 +11:00
ray-x
ef332025ce allow return value for test 2021-11-22 20:12:57 +11:00
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.
2021-11-22 13:00:04 +11:00
ray-x
f59422008a Add warn messages 2021-11-17 09:22:16 +11:00
ray-x
ec91d9915f Add command autocomplete 2021-11-13 14:29:42 +11:00
ray-x
8f075be252 Allow rename with gopls when lsp is ready 2021-11-12 10:30:45 +11:00
ray-x
165714cfea allow godoc focusable 2021-11-11 13:01:14 +11:00
ray-x
0dc7b57f6f windows path issue #40 2021-11-10 13:20:54 +11:00
ray-x
39a66c3534 dap sign #35 2021-10-26 11:16:15 +11:00
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>
2021-10-25 10:05:02 +11:00
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.
2021-10-01 18:49:58 +10:00
ray-x
569e8e4320 Update reftool and fillstruct 2021-09-30 22:23:36 +10:00
ray-x
7feb745e6c remove gofumport from go.nvim #18 2021-09-25 12:44:52 +10:00
ray-x
3fc75ca46a refact fillstruct and codeaction add GoFixPlurals 2021-09-20 19:05:04 +10:00
ray-x
54dea272d1 #31 expose bufnr to ts APIs 2021-09-19 09:58:04 +10:00
ray-x
8c3abfb9f2 go doc command with floating preview 2021-09-18 21:14:02 +10:00
ray-x
d6c4cf570a add % before special char to string match 2021-09-14 15:03:29 +10:00
ray-x
1988bf39ae LSP api changes https://github.com/neovim/neovim/pull/15504 2021-09-04 14:59:11 +10:00
ray-x
c9a07b85cb support lsp API changes neovim/pull/15504 2021-09-04 14:51:43 +10:00
ray-x
c984ce7757 update gotest it will output to buffer 2021-09-03 12:13:15 +10:00
ray-x
ee0d43ce5c merge github workflow and goimport fix 2021-09-03 03:18:46 +10:00
ray-x
8ea0ff1d3a commit 2021-09-03 03:14:04 +10:00
ray-x
5c5b102b93 arguments 2021-09-03 02:59:45 +10:00
ray-x
d6f0249023 format 2021-09-03 02:21:31 +10:00
ray-x
b517d7a6b9 updates 2021-09-03 02:15:54 +10:00
ray-x
af25e1e2e7 goimport cleanup 2021-09-02 22:27:40 +10:00