Commit Graph

62 Commits (master)

Author SHA1 Message Date
ray-x fe8196f9d1 [goimport->goimports] Enduring the frustration of a longstanding typo, I've finally resolved to correct it. The change updates "goimport" to "goimport," including all related documentation and tests.
Additionally, I've set gopls as the default tool for both gofmt and goimports. This integration will be quicker than executing a separate command in the background and analyzing its output.
2 months ago
ray-x 13a1044fc6 Issue #408 GoImplements 5 months ago
Itamar Lencovsky 47dd8f4f88
rename the spacing key for the diagnostic virtual text to match the spec (#395) 6 months ago
ray-x 0a508516f1 breaking: issue #375 diagnostics.hdlr=false by default as complains about the qickfix when file saved \n the feature need to turn on manually 7 months ago
aceforeverd 6550ddf5ce
fix(ui): replace obsolete nerd fonts from ui (#357)
nerdfont >= 3.0.0 dropped class name `nf-mdi-*`, replacing with new
class name `nf-md-*`.
The new class name exists since nerdfont 2.3.0 so user with nerdfont >=
2.3.0 installed should be fine.
Refer https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0
10 months ago
qasimwarraich 97b76f3188
change default `lsp_diag_virtual_text` prefix to nvim default (#353) 11 months ago
Krystian Kulgawczuk 8a0498ee48
New global variable for vertical cursor shift on GoIfErr (#347)
New variable will allow to customize exactly where cursor will end
up and allow user to set this exactly how they wish.

This change is backwards compatible as the default is the same
as was the hardcoded value.

Signed-off-by: Krystian Kulgawczuk <29754364+krystian-kulgawczuk@users.noreply.github.com>
11 months ago
Manuel 711b3b84cf
fix(doc): add missing parameter documentation (#337)
Parameter `-p` was not documented for `:GoCoverage`
12 months ago
ray-x 55fe49fcaf issue #313 new file with template file 1 year ago
ray-x 063bf059e3 [Feat] % to expand to current file in cmdline 1 year ago
Oliver c11b8b50f3
Fix typo in go.txt (#294)
s/pakcage/package/
1 year ago
Lingnan Liu 44e135565e
bugfix: Delete doc/tags (#283) 1 year ago
ray-x 13f5e15fd7 issue #273 mockgen install failure 1 year ago
ray-x 8a959ec37b go-enum support 🎄🎆 1 year ago
ray-x 5e980b00c7 add new command: govulncheck 🇦🇷 a🇭🇷 1 year ago
ray-x 12d262b99d update gotestsum info in readme and vim doc 🎄 1 year ago
ray-x c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 1 year ago
ray-x 02943e5316 gomodifytags options 1 year ago
ray-x 32b4c162f0 gomvp support #176 2 years ago
ray-x e9d1c6c021 issue #229 extra args to go 2 years ago
ray-x d34868d2fa testrunner default 2 years ago
ray-x 5b33d782f3 GoTestSum and sidepanel 2 years ago
ray-x 28bcaa1f44 quick gen return #170 2 years ago
ray-x 02db327bc3 issue #195 update doc for GoDebug 2 years ago
ray-x 19af5a5546 doc updates 2 years ago
ray-x 9ea9ee2c4b issue #192 coverage sign priority 2 years ago
ray-x 3f2e7f49bd json to go struct 2 years ago
ray-x c8d02a9d6a inlay hints #172 2 years ago
Mihail Stoykov c655da712e
Fix tags in go.txt (#169) 2 years ago
rayx 104b832ee4
Luasnip (#165)
First commit for luasnip
Most of the snip code is from this repo shark
and TJ's neovim setup config_manager
and ziontee113

* add luasnip for go

* move command out to a dedicated function

* update ts node spec format

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test
2 years ago
ray-x 29a23a31e3 issue #153 -count=x 2 years ago
ray-x 300836a9cb go impl: allow omit interface and use treesitter to find a interface name and package name 2 years ago
ray-x a86e9d2a29 Feature: add go mock / mockgen 2 years ago
ray-x a2d0bbee53 bugfix #153, update doc 2 years ago
ray-x 84ac01df53 Feature: show keybindings for debug session 2 years ago
ray-x eae9af9c1d recommit fix for #145 due to merge failure 2 years ago
rayx 5504f55b4f
[Feature]Package info side panel (#140)
New feature.
It shows all public symbols inside a go package with a side panel.

Also refer https://github.com/golang/go/issues/37237 for some workaround

* add side_panel for go package

* Add command GoPkgInfo

* multi lines hint

* allow refresh when buffer write happed

* remove node of receiver

* update treesitter queries for better panel display

* variadic args
2 years ago
ray-x d3d278d58a doc update 2 years ago
ray-x b3c6bde824 flags to load coverage file 2 years ago
ray-x ad84a0806c update GoTest adding more flags 2 years ago
张海林 6c51c0a909
doc: clarify test_runner option (#129)
* doc: clarify test_runner option

* Update README.md

* Update go.txt

* Update go.lua

Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x eb4d380807 allow format all buffers with goimports 2 years ago
ray-x 051e8b2afa cheatsheet(cht.sh) supports in go.nvim 2 years ago
ray-x 52ccb2e690 GoImpl updates, allow no arguments and let treesitter do everything for you 2 years ago
ray-x e3504bc50f allow gorun in float terminal 2 years ago
ray-x 669ad39639 update launch.json and readme.md for the new commands 2 years ago
ray-x f187f10678 Update GoModxxx cmds 2 years ago
Aleš Brelih 6d2062c3d7
feat: verbose tests toggle (#123)
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2 years ago
Aleš Brelih ab864c4c17
feat: added command to close floating term (#119)
* feat: added command to close floating term

* feat: automatically close previous float term

* Update go.lua

remove auto complete

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x 7ca5ad805b allow lsp_keymaps to be a function 2 years ago