Commit Graph

76 Commits

Author SHA1 Message Date
djdv
6bdda64546
utils.lua remove debugging expression (#277) 2023-01-28 11:00:04 +11:00
ray-x
ab678d7f42 error format for panic in null-ls go tests 2023-01-27 15:06:32 +11:00
ray-x
adc24af96c remove depencies #273 2023-01-19 12:26:14 +11:00
ray-x
7e6fe7a062 [feature] null-ls message redirect to quickfix 2023-01-15 20:24:48 +11:00
ray-x
5b33d782f3 GoTestSum and sidepanel 2022-10-01 14:53:27 +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
Yajie Zhu
d94f5df507
fix: GoGet fail (#217)
Co-authored-by: zhuyajie <930664@qq.com>
2022-09-17 11:08:16 +10:00
ray-x
c3dd9e3ee8 smart build tags 2022-08-06 21:11:12 +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
93c724d6b0 issue #184 trouble 2022-07-30 23:05:27 +10:00
ray-x
7c62c7c27a add windows exe extension #179 2022-07-28 02:22:38 +10: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
e5c7d643b1 gosnips return default, similar to fillreturns by gopls 2022-07-26 12:39:41 +10:00
ray-x
f0732425f9 more snips, e.g. uuid, random words/strings etc 2022-07-17 21:33:29 +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
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
a86e9d2a29 Feature: add go mock / mockgen 2022-07-06 08:28:29 +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
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
755e5816f0 guru support 2022-06-18 15:43:07 +10:00
ray-x
040c7bd110 Update document
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
ccaed8c573 cli improvement for gomodifytags, gotest 2022-06-03 19:07:05 +10:00
ray-x
30d30f407a fix diagnostic warnings for all files 2022-06-01 21:29:13 +10:00
ray-x
56143544d7 revert escape changes, it breaks floaterm run 2022-05-31 02:41:48 +10:00
ray-x
ad84a0806c update GoTest adding more flags 2022-05-31 00:04:52 +10:00
ray-x
eb4d380807 allow format all buffers with goimports 2022-05-26 15:07:14 +10:00
ray-x
8d1c468901 github action 2022-05-24 21:17:55 +10:00
ray-x
8103d462c5 github action fix 2022-05-24 21:14:40 +10:00
ray-x
7b5c408b88 github action failure fix 2022-05-24 20:58:54 +10:00
ray-x
125d6fa3d3 better test coverage for gotest 2022-05-24 17:54:52 +10:00
ray-x
128d2c14f3 Merge branch 'master' into serverCapcities 2022-05-14 01:08:28 +10:00
ray-x
14f298af92 Merge branch 'boilerplate' 2022-05-14 01:08:04 +10:00
ray-x
e77920422e Merge branch 'master' into serverCapcities 2022-05-13 20:58:27 +10:00
ray-x
1c727c8768 ts keybinding update 2022-05-13 20:54:47 +10:00
ray-x
7c434918be add gonvim project file parser 2022-05-13 19:27:02 +10:00
ray-x
dead9e2c70 add go boilerplate 2022-05-10 17:59:48 +10:00
ray-x
0916cb3da1 bugfix for releative path for GoTest -c 2022-05-10 11:03:15 +10:00
ray-x
5bebe38de0 push gopls and lsp changes for nvim 0.7 2022-05-05 15:37:59 +10:00
ray-x
cf3915c331 neovim breaking changes https://github.com/neovim/neovim/pull/17814 2022-04-30 19:55:07 +10:00
ray-x
4b1eea8b90 issue #90 remove lsp codelens check 2022-04-24 21:03:38 +10:00
ray-x
1bc6249495 feature: in quickfix, shows full path name instead of name only. That allows jump to the failed location 2022-02-23 16:28:21 +11:00
ray-x
4c66365aa2 Add GoModeTidy and GoModeVendor 2022-02-22 09:46:59 +11:00
ray-x
d98d4e9eda better error message for dlv; dlv attach mode 2022-02-14 15:59:31 +11:00
ray-x
532f7256b1 issue #71, change warn/info/error to notify 2022-01-19 13:12:36 +11:00
ray-x
b1271d5e6a issue #71 packer loader failed to load plugins 2022-01-19 08:14:02 +11:00
ray-x
0d5f1c9f31 add health.lua 2022-01-15 22:14:56 +11:00
ray-x
85f2300e72 issue #75, better default package path for tests 2022-01-14 14:35:23 +11:00