Commit Graph

217 Commits (37af0acd53aa3f3e7e0a6a9646ff3ac80e3a02ce)

Author SHA1 Message Date
ray-x 13f5e15fd7 issue #273 mockgen install failure 1 year ago
P. Reis 9ab5e63df6
Fix typo and changed double quotes to single quotes for consistency (#274)
* Fix typo

* Changed double quote to single quote 

For consistency.
1 year ago
ray-x 4030487864 [feature] gotest codeactions for null-ls 1 year ago
ray-x 7e6fe7a062 [feature] null-ls message redirect to quickfix 1 year ago
ray-x 276ebe8654 [Feature] integrate with null-ls. Add go.nvim as a null-ls source
Run `go test` on file save and
show diagnostic messages in LSP virtual text.
1 year ago
ray-x 106ec4de3d issue #269 dap-ui setup config 1 year ago
ray-x 8a959ec37b go-enum support 🎄🎆 2 years ago
ray-x 399a3a834e README issue #263 🎄🎆 2 years ago
ray-x 02fbdd126c issue #264 coverage line num mismatch 🎄🎆 2 years ago
ray-x 5e980b00c7 add new command: govulncheck 🇦🇷 a🇭🇷 2 years ago
ray-x 12d262b99d update gotestsum info in readme and vim doc 🎄 2 years ago
Rafael Zasas a20a086e39
Update README.md (#254)
Add missing comma in golang setup config
2 years ago
ray-x a16482773e update dap usage in readme 2 years ago
ray-x a3eed37434 update doc/readme for the dependency. 🥅😄📣 2 years ago
ray-x 9d813931e5 issue #251 🇭🇧🇷 2 years ago
ray-x c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 2 years ago
ray-x 02943e5316 gomodifytags options 2 years ago
Shaw Vrana 4599360f5d
Add ability to set gomodifytag options in config (#246) 2 years ago
Craig Rodrigues 4281497427
Specify nvim_create_autocmd in a few places in README (#235) 2 years ago
ray-x 32b4c162f0 gomvp support #176 2 years ago
ray-x e9d1c6c021 issue #229 extra args to go 2 years ago
ray-x 25f844684b allow gotestsum in watch mode 2 years ago
ray-x 5b33d782f3 GoTestSum and sidepanel 2 years ago
ray-x 25e967fdff doc update for gotestsum 2 years ago
Patrick Artounian 0e3a10f595
allow for user to toggle lsp_diag underline (#221)
Co-authored-by: Patrick Artounian <patrick.artounian@insomniac.com>
2 years ago
LintaoAmons 24270e540b
Update README.md (#213)
Add link to `cheat.sh` and fix the code block
2 years ago
João Lucas Rafael 6ed7dc5fcd
Add an option for single package coverage. (#218) 2 years ago
ray-x 38ac0162ee update README 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 7fea49e79f rename from gocoverage_sign_priority to sign_priority 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 93c724d6b0 issue #184 trouble 2 years ago
ray-x f334b05d0c issue #173 minimal defaults 2 years ago
ray-x 3d41a501da inlay hints doc 2 years ago
ray-x c8d02a9d6a inlay hints #172 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 ab8a075aa4 add efm only mode for testing when floating term is off 2 years ago
ray-x fcc473b1ec GoImpl autocomplete from treesitter symbols 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 e84d3ab545 improve #155 allow GoImpl fallback if struct type def not found 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 981adf9b39 Features:
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
2 years ago
ray-x eae9af9c1d recommit fix for #145 due to merge failure 2 years ago
ray-x 1fd353947b issue #145 GoDebug failure 2 years ago
Nikola Milovic d402d9cbf9
fix(docs): fix command typo and duplicate (#144)
* fix(docs): remove duplicate command from debug table

In the Debug section Command table `GoBreakToggle` was mentioned twice, I just removed the duplicate

* fix(docs): fix the BreakCondition command and formatting on some markdown tables

* indentation

Co-authored-by: rayx <rayx.cn@gmail.com>
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 755e5816f0 guru support 2 years ago
ray-x 44d6a9d8f3 add list_imports support 2 years ago
ray-x 040c7bd110 Update document
Smart build tags detection
2 years ago
ray-x b3c6bde824 flags to load coverage file 2 years ago
Hiroyuki Tanaka b22f8c7760
Fix typo in README.md (#135) 2 years ago
ray-x ff94aa139d add notes 2 years ago
ray-x ad84a0806c update GoTest adding more flags 2 years ago
ray-x fc928a40e9 show cheatsheet in floating window 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
Alexandre Desjardins f41af88f2e
fix nvim-lsp-installer path moved to core module (#126) 2 years ago
ray-x ed8a2484ba merge master 2 years ago
ray-x 80e94444bb merge master 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
ray-x de1306a986 goenv and load breakpoints 2 years ago
ray-x 0dd08fddc5 add gonvim project file parser 2 years ago
Marco Mayer eba7daeb16
fix gotests template parameters, better names(?), small formatting fixes, update README (#125) 2 years ago
ray-x 7c434918be add gonvim project file parser 2 years ago
ray-x 86d7b26846 doc update 2 years ago
Aleš Brelih 6d2062c3d7
feat: verbose tests toggle (#123)
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2 years ago
Mochammad Hanif R 5c4fcc49ac
Fix tags when using `tag_transform` (#121)
Also clarify `tag_transform` documentation in README for more clarity
2 years ago
ray-x 54df0e9994 fixplurals 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 791dc89183 update go pipeline to 1.18.1 2 years ago
ray-x 7ee9bbd870 Doc update 2 years ago
ray-x df512d695f issue #94 GoImport autocomplete 2 years ago
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 ed3dfb85b2 Breaking changes for GoDebug, deprecate old argument and using linux style command line arguments 2 years ago
ray-x 4c66365aa2 Add GoModeTidy and GoModeVendor 2 years ago
ray-x d8638ab9c8 issue#88 cmp setup. set it as default 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 3e905d07ac health check for treesitter-go parser issue#86 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 f5c029e5fa Update GoGet. if cursor current line is a valid pkg url, will auto fill it to go get argument 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 cd395e96fb setup option to disable gopls doc format 2 years ago
ray-x e5ebbd9460 Add GoTest -c option, compile test package issue#76 2 years ago
ray-x e9e42ab175 toggle gc and codelens 2 years ago
ray-x daeaa15e6a doc and launch.json update 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 e232ed38e6 doc update for test_runner 2 years ago