Commit Graph

153 Commits

Author SHA1 Message Date
ray-x
9d813931e5 issue #251 🇭🇧🇷 2022-12-07 16:01:14 +11:00
ray-x
c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 2022-12-06 02:08:45 +11:00
ray-x
02943e5316 gomodifytags options 2022-11-27 17:48:43 +11:00
Shaw Vrana
4599360f5d
Add ability to set gomodifytag options in config (#246) 2022-11-27 17:33:53 +11:00
Craig Rodrigues
4281497427
Specify nvim_create_autocmd in a few places in README (#235) 2022-11-14 15:27:50 +11:00
ray-x
32b4c162f0 gomvp support #176 2022-10-25 20:16:50 +11:00
ray-x
e9d1c6c021 issue #229 extra args to go 2022-10-20 13:02:45 +11:00
ray-x
25f844684b allow gotestsum in watch mode 2022-10-01 15:03:26 +10:00
ray-x
5b33d782f3 GoTestSum and sidepanel 2022-10-01 14:53:27 +10:00
ray-x
25e967fdff doc update for gotestsum 2022-09-30 11:37:29 +10:00
Patrick Artounian
0e3a10f595
allow for user to toggle lsp_diag underline (#221)
Co-authored-by: Patrick Artounian <patrick.artounian@insomniac.com>
2022-09-28 08:28:05 +10:00
LintaoAmons
24270e540b
Update README.md (#213)
Add link to `cheat.sh` and fix the code block
2022-09-27 17:13:31 +10:00
João Lucas Rafael
6ed7dc5fcd
Add an option for single package coverage. (#218) 2022-09-25 00:03:48 +10:00
ray-x
38ac0162ee update README 2022-08-28 18:20:46 +10:00
ray-x
28bcaa1f44 quick gen return #170 2022-08-23 19:31:13 +10:00
ray-x
02db327bc3 issue #195 update doc for GoDebug 2022-08-07 20:42:15 +10:00
ray-x
7fea49e79f rename from gocoverage_sign_priority to sign_priority 2022-08-05 10:07:56 +10:00
ray-x
9ea9ee2c4b issue #192 coverage sign priority 2022-08-05 10:02:35 +10:00
ray-x
3f2e7f49bd json to go struct 2022-08-04 23:30:52 +10:00
ray-x
93c724d6b0 issue #184 trouble 2022-07-30 23:05:27 +10:00
ray-x
f334b05d0c issue #173 minimal defaults 2022-07-25 17:44:43 +10:00
ray-x
3d41a501da inlay hints doc 2022-07-20 09:48:15 +10:00
ray-x
c8d02a9d6a inlay hints #172 2022-07-20 09:27:59 +10:00
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
2022-07-11 23:32:06 +10:00
ray-x
ab8a075aa4 add efm only mode for testing when floating term is off 2022-07-08 02:34:50 +10:00
ray-x
fcc473b1ec GoImpl autocomplete from treesitter symbols 2022-07-08 01:27:30 +10:00
ray-x
300836a9cb go impl: allow omit interface and use treesitter to find a interface name and package name 2022-07-07 03:57:26 +10:00
ray-x
e84d3ab545 improve #155 allow GoImpl fallback if struct type def not found 2022-07-06 08:58:17 +10:00
ray-x
a86e9d2a29 Feature: add go mock / mockgen 2022-07-06 08:28:29 +10:00
ray-x
a2d0bbee53 bugfix #153, update doc 2022-07-03 09:11:26 +10:00
ray-x
84ac01df53 Feature: show keybindings for debug session 2022-07-01 20:30:43 +10:00
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
2022-07-01 19:15:31 +10:00
ray-x
eae9af9c1d recommit fix for #145 due to merge failure 2022-06-30 12:41:20 +10:00
ray-x
1fd353947b issue #145 GoDebug failure 2022-06-30 11:55:00 +10:00
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>
2022-06-30 08:51:42 +10:00
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
2022-06-27 08:12:49 +10:00
ray-x
d3d278d58a doc update 2022-06-22 13:53:26 +10:00
ray-x
755e5816f0 guru support 2022-06-18 15:43:07 +10:00
ray-x
44d6a9d8f3 add list_imports support 2022-06-16 14:10:49 +10:00
ray-x
040c7bd110 Update document
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
b3c6bde824 flags to load coverage file 2022-06-07 20:10:49 +10:00
Hiroyuki Tanaka
b22f8c7760
Fix typo in README.md (#135) 2022-06-04 01:26:43 +10:00
ray-x
ff94aa139d add notes 2022-06-01 21:29:34 +10:00
ray-x
ad84a0806c update GoTest adding more flags 2022-05-31 00:04:52 +10:00
ray-x
fc928a40e9 show cheatsheet in floating window 2022-05-28 20:54:45 +10:00
张海林
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>
2022-05-27 12:39:11 +10:00
ray-x
eb4d380807 allow format all buffers with goimports 2022-05-26 15:07:14 +10:00
ray-x
051e8b2afa cheatsheet(cht.sh) supports in go.nvim 2022-05-25 14:36:34 +10:00
ray-x
52ccb2e690 GoImpl updates, allow no arguments and let treesitter do everything for you 2022-05-19 14:12:14 +10:00
ray-x
e3504bc50f allow gorun in float terminal 2022-05-17 11:34:35 +10:00