Commit Graph

471 Commits

Author SHA1 Message Date
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
4202b6a07b composit_literal folding 2022-08-04 18:40:38 +10:00
ray-x
99674bb44e playground init 2022-08-04 10:35:38 +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
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
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
Mihail Stoykov
c655da712e
Fix tags in go.txt (#169) 2022-07-15 22:44:02 +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
ray-x
607ed738e5 improve treesitter query 2022-07-09 15:54:43 +10:00
ray-x
d1384cf2c0 revert changes break github actions 2022-07-08 22:02:58 +10:00
Steffen Siering
300fffc87d
Fix: GoCoverage (#164)
Co-authored-by: urso <steffen.siering at gmail>
2022-07-08 21:59:25 +10:00
Benedikt Müller
1b5b77feb8
fix lsp_on_client_start option (#163) 2022-07-08 20:44:19 +10:00