ray-x
ca2463975e
better error messages when pkg does not present
2022-11-23 13:42:26 +11:00
ray-x
93e0cc6628
better error for GoPkgOutline
2022-11-23 13:34:51 +11:00
ray-x
cffe9f6899
nil check #241
2022-11-23 13:24:52 +11:00
ray-x
aa854e3a47
issue #244 coverage -p warning message
2022-11-23 10:33:51 +11:00
ray-x
f68d072717
go get query
2022-11-23 09:31:15 +11:00
Manuel
c21ba12c1f
fix: wrong method scope ( #243 )
...
remove_all was defined as local but then referenced once as local and once as method in M
2022-11-23 09:16:23 +11:00
Manuel
997317e5ad
fix: fix used hl group name ( #242 )
2022-11-23 09:14:39 +11:00
xiantang
f23ca4e781
feat: support generate return for method ( #234 )
...
Run GoGenReturn
client.DeleteWithTimeout() -> *clientv3.DeleteResponse, err := client.DeleteWithTimeout()
2022-11-12 03:13:43 +11:00
ray-x
79c79c4872
autocmd for mod on_save
2022-11-03 12:54:24 +11:00
ray-x
fabe62defc
gomod file reload
2022-11-03 12:53:45 +11:00
ray-x
825f20b036
updates for gopls 0.10.0
2022-11-01 10:54:24 +11:00
ray-x
6eea6a265d
format format.lua
2022-10-27 11:39:09 +11:00
ray-x
32b4c162f0
gomvp support #176
2022-10-25 20:16:50 +11:00
ray-x
a5b307c35c
shada=NONE
2022-10-24 15:15:15 +11:00
ray-x
fa0f15bb6b
runner update for neovim-latest notify should not be called in loop-callback
2022-10-24 14:58:07 +11:00
Roy Choo
6602986054
fix(gotest): wrong order of test binary args ( #230 )
...
Co-authored-by: Roy Choo <roy.choo@bytedance.com>
2022-10-22 23:39:48 +11:00
ray-x
7720ddcbea
gotestfunc -a option
2022-10-20 13:09:38 +11:00
ray-x
e9d1c6c021
issue #229 extra args to go
2022-10-20 13:02:45 +11:00
ray-x
737223c999
add update_chunk for runner
2022-10-06 15:16:35 +11:00
Syncrack
1aef2d60bd
fix: use saved bufnr when retrieve inlay hints. ( #226 )
2022-10-04 14:14:15 +11:00
icefed
50050f7c8c
Fix commands GoModVendor & GoModInit ( #219 )
...
Signed-off-by: icefed <zlwangel@gmail.com>
Signed-off-by: icefed <zlwangel@gmail.com>
2022-10-04 14:12:32 +11:00
Syncrack
a32e0c2f1b
ci: add one more empty line ( #227 )
2022-10-03 20:24:17 +11:00
ray-x
d34868d2fa
testrunner default
2022-10-03 20:20:36 +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
b7f07ab887
feature: run gotestsum watch in background
2022-09-30 14:34:30 +10:00
Yajie Zhu
e75d4ab725
fix: lsp restart logic ( #222 )
...
* fix: GoGet fail
* fix: lsp restart logic
Co-authored-by: zhuyajie <930664@qq.com>
2022-09-29 14:28:22 +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
João Lucas Rafael
6ed7dc5fcd
Add an option for single package coverage. ( #218 )
2022-09-25 00:03:48 +10:00
Yajie Zhu
d94f5df507
fix: GoGet fail ( #217 )
...
Co-authored-by: zhuyajie <930664@qq.com>
2022-09-17 11:08:16 +10:00
ray-x
9f3b04579b
update debug messages
2022-09-14 16:59:31 +10:00
ray-x
bb88a4929d
lint
2022-09-12 11:23:15 +10:00
WDdxRW
4edd1c289e
fix test_func ( #209 )
...
* fix test_func
* fix test_func
2022-09-07 00:22:13 +10:00
ray-x
46052e6450
detect bench test for dap debug
2022-09-05 15:47:08 +10:00
ray-x
8e5866eb12
bench test with qucifix
2022-09-05 10:56:42 +10:00
ray-x
6ef00998e2
keymap for range code action
2022-09-02 23:52:34 +10:00
ray-x
7d22162f59
range code action
2022-09-02 23:52:19 +10:00
ray-x
eee5a02a37
ginkgo nearest
2022-08-25 12:54:57 +10:00
ray-x
f366151590
choice node
2022-08-23 19:41:26 +10:00
ray-x
28bcaa1f44
quick gen return #170
2022-08-23 19:31:13 +10:00
Justin Ginn
4f01936c00
Pass build tags when running tests with dlv ( #201 )
...
dlv does provide a flag for passing build tags, although it is diferent
than the build tag flag for the go command line utility. This commit
adds that syntax to pass flags to dlv as specified.
Co-authored-by: Justin Ginn <Justin.ginn@amd.com>
2022-08-19 15:33:03 -07:00
ray-x
c75824b1f0
pipeline failure
2022-08-10 15:13:17 +10:00
Yajie Zhu
f2e9666b50
remove duplicate code; Add LogPoint command ( #200 )
...
* fix: use strict test function name while debugging
* fix: use strict test function name while debugging
* Revert "fix: use strict test function name while debugging"
This reverts commit f47dd66c50
.
* fix: GoPkgOutline, should reset pkg_info data before rerender
* remove duplicate code;
add GoLogPoint command
Co-authored-by: zhuyajie <930664@qq.com>
2022-08-10 11:29:58 +10:00
ray-x
c7a56c8615
go build tags setup
2022-08-08 15:57:20 +10:00
Yajie Zhu
5ad5a53708
fix: GoPkgOutline, should reset pkg_info data before rerender ( #198 )
...
* fix: use strict test function name while debugging
* fix: use strict test function name while debugging
* Revert "fix: use strict test function name while debugging"
This reverts commit f47dd66c50
.
* fix: GoPkgOutline, should reset pkg_info data before rerender
Co-authored-by: zhuyajie <930664@qq.com>
2022-08-07 23:18:26 +10:00
Yajie Zhu
6c793a1c6f
fix: use strict test function name while debugging ( #197 )
...
* fix: use strict test function name while debugging
* fix: use strict test function name while debugging
* Revert "fix: use strict test function name while debugging"
This reverts commit f47dd66c50
.
Co-authored-by: zhuyajie <930664@qq.com>
2022-08-07 21:00:48 +10:00
ray-x
943cf236d0
goget #194
2022-08-06 22:00:49 +10:00
ray-x
2a48166beb
mockgen
2022-08-06 21:16:47 +10:00
ray-x
c3dd9e3ee8
smart build tags
2022-08-06 21:11:12 +10:00
ray-x
ca7cb5fe34
lint
2022-08-06 13:45:01 +10:00
ray-x
ce73ef43f0
cleanup ts logs; utils get build tags renaming
2022-08-06 12:54:32 +10:00
ray-x
ddbb30a38e
remove log messages
2022-08-06 12:18:53 +10:00
ray-x
c94c488307
automatically add build tags to gopls. handle "// go:build tagxxx"
2022-08-06 10:49:09 +10:00
ray-x
160897a93f
test failure
2022-08-05 20:26:40 +10:00
ray-x
feaef378b7
testcase update
2022-08-05 20:24:42 +10:00
ray-x
d5e5a65c03
moving from vim script to lua scripts (autocmd, highlight)
2022-08-05 19:34:44 +10:00
ray-x
2930eb9f17
spelling, default sign highlight
2022-08-05 10:48:08 +10:00
ray-x
7fea49e79f
rename from gocoverage_sign_priority to sign_priority
2022-08-05 10:07:56 +10:00
ray-x
4c1ee0ddeb
update default priority of sign
2022-08-05 10:03:04 +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
5516cf7fff
issue #190 check line range before get_params
2022-08-04 21:30:41 +10:00
ray-x
524b65f85a
bugfix: some user commands failed because incorrect setup of lua api
2022-08-04 10:35:38 +10:00
mateusz
e401dd9f31
fix wrongly documented default value (lsp_gofumpt) ( #188 )
...
* fix wrongly documented default value
* Revert "fix wrongly documented default value"
This reverts commit 63c537dc50
.
* fix default lsp_gofumpt
2022-08-02 01:19:12 +10:00
ray-x
74d65542d4
issue #189 format warning message
2022-08-01 17:02:21 +10:00
ray-x
f4d8a0b691
allow dap to be lazyload
2022-08-01 10:53:37 +10:00
ray-x
b7d6288bbd
use neovim 0.7 API to create commands. this is a breaking change for anyone using neovim 0.6.x
2022-08-01 10:09:05 +10:00
ray-x
c1db235792
issue #186
2022-08-01 09:08:52 +10:00
ray-x
4e44e251db
update notify message when format is missing
2022-08-01 09:05:04 +10:00
ray-x
bedc73166a
#187 vim.lsp.buf.format missing in some version of neovim
2022-08-01 09:04:28 +10:00
ray-x
06c27c1cf5
missing end
2022-08-01 08:36:38 +10:00
mateusz
002e199562
synchronous goimports ( #186 )
...
* fix save formatting
* fix vim.lsp.buf.format polyfill
* reformat and default values
* remove extra end
Co-authored-by: rayx <rayx.cn@gmail.com>
2022-08-01 08:30:35 +10:00
ray-x
a9b669772f
check if gopls is running before send codelens request
2022-08-01 00:57:32 +10:00
ray-x
5c2c14a5f6
lint
2022-07-31 21:54:30 +10:00
ray-x
b647bd1ae9
issue #183 codelens refresh in on_attach
2022-07-31 21:27:27 +10:00
ray-x
1ca53c0a00
refresh codelens in on_attach
2022-07-31 21:03:45 +10:00
ray-x
8fb06f43a2
cache the client info results for inlay
2022-07-31 11:35:48 +10:00
ray-x
db47b70d21
startup delay because the BufEnter autocommands
2022-07-31 11:29:38 +10:00
ray-x
93c724d6b0
issue #184 trouble
2022-07-30 23:05:27 +10:00
ray-x
7aed764507
allow more trigger events for codelens
2022-07-30 16:00:09 +10:00
ray-x
144eb6fb2a
issue #182 setup merge
2022-07-29 22:23:52 +10:00
ray-x
72bff85508
issue #181 merge gopls setup
2022-07-28 20:53:19 +10:00
ray-x
a816cdb5e7
windows extensions
2022-07-28 02:22:38 +10:00
ray-x
7c62c7c27a
add windows exe extension #179
2022-07-28 02:22:38 +10:00
Tai Groot
f378f7ffa2
remove leading space on hint args ( #180 )
2022-07-27 02:59:05 -07:00
ray-x
3bdd56b1c0
issue #179 windows 11
2022-07-27 14:50:39 +10:00
ray-x
3774ac0eba
lint
2022-07-27 02:21:58 +10:00
ray-x
5b70d93603
lint
2022-07-27 02:05:24 +10:00
ray-x
e5c7d643b1
gosnips return default, similar to fillreturns by gopls
2022-07-26 12:39:41 +10:00
ray-x
f334b05d0c
issue #173 minimal defaults
2022-07-25 17:44:43 +10:00
ray-x
7342608bd6
issue #175 hover
2022-07-22 22:18:53 +10:00
ray-x
c8d02a9d6a
inlay hints #172
2022-07-20 09:27:59 +10:00
ray-x
f0732425f9
more snips, e.g. uuid, random words/strings etc
2022-07-17 21:33:29 +10:00
ray-x
deccb2c6c3
GoMockGen cmd fix
2022-07-17 21:33:29 +10:00
liangkai
dffe933fd1
replace utils.notify by utils.warn ( #168 )
2022-07-14 15:38:54 +10:00
rayx
0e8cc90e30
Bugfix #160 ( #167 )
...
* snips
* update ts node spec format
* luasnip up and running
* bugfix alternate file
* Bring in more snippets
* updates for mockery 2.11
* snips for http handler and more
* update doc
* bench test
* for snips
* update treesitter query and api
* refact get_xxx_at_cursor
* update test spec
* update row to vim range
* update col number
* remove comments
* merge conflicts
2022-07-12 23:11:46 +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
ZHL
bc25de4d85
upgrade ginkgo version to v2 ( #166 )
...
It might be a breaking change for those using ginkgo v1
2022-07-11 17:39:21 +10:00
ray-x
c7fa2fe5fc
tuning treesitter type def
2022-07-09 22:03:17 +10:00
ray-x
e43eaf43b7
go-dap keymap desc
2022-07-09 19:26:31 +10:00