Commit Graph

33 Commits

Author SHA1 Message Date
ray-x
6bdba9e1f3 revert removing fillstruct as some gopls user saw issues 2024-03-22 23:01:37 +11:00
ray-x
fe8196f9d1 [goimport->goimports] Enduring the frustration of a longstanding typo, I've finally resolved to correct it. The change updates "goimport" to "goimport," including all related documentation and tests.
Additionally, I've set gopls as the default tool for both gofmt and goimports. This integration will be quicker than executing a separate command in the background and analyzing its output.
2024-03-19 13:15:58 +11:00
ray-x
d217a74fa8 move fillstruct to gopls only 2024-03-10 18:59:40 +11:00
ray-x
13a1044fc6 Issue #408 GoImplements 2023-12-15 09:45:04 +11:00
ray-x
f9672fd446 gonew with template URL; update go work
cleanup sandbox
2023-11-13 18:01:04 +11:00
ray-x
38f6402fa5 Go Work 2023-11-09 22:05:14 +11:00
ray-x
1fed4b733c [Feat] ginkgo releated commands and test 2023-03-21 13:58:01 +11:00
ray-x
47666f920f [Fix] goget fix for pkgname+URL
[Feat] ginkgo cmds
2023-03-18 20:46:44 +11:00
ray-x
55fe49fcaf issue #313 new file with template file 2023-03-14 23:01:56 +11:00
ray-x
7d7b081bf3 GoDoc argument handling
loclist 'r' options
Readme Updates
2023-02-28 20:53:47 +11:00
ray-x
b9f161c18e null-ls source: golangci-lint and gotest is async now
gomvp minor fix
command auto complete
2023-02-17 21:54:44 +11:00
ray-x
470349cff5 lazy.nvim based lazy loading 2023-02-08 20:56:26 +11:00
ray-x
87263fbeff Updated command autocomplete, it failed to work in neovim v0.9. I have
no idea when it began to fail, might because I lazy load the go.nvim;
Also cache some of the result for completion list.

Changes to be committed:
       modified:   lua/go/commands.lua
       modified:   lua/go/complete.lua
       modified:   lua/go/godoc.lua
       modified:   lua/go/package.lua
2023-02-06 21:42:22 +11:00
ray-x
d0e7922742 issue #271 go-generate failure for codes inside package 2023-01-12 23:42:15 +11:00
ray-x
dcb8662e6c checkhealth and go-enum update 2023-01-12 15:34:00 +11:00
ray-x
f33866ed00 Feature: run & debug a subtest inside table driven test cases 2023-01-11 14:53:05 +11:00
ray-x
8a959ec37b go-enum support 🎄🎆 2023-01-03 23:23:35 +11:00
ray-x
5cefc346e7 luacheck lint, deprecate nvim-0.5 support 🏆🇦🇷 👋🇫🇷 2022-12-20 22:00:06 +11:00
ray-x
5e980b00c7 add new command: govulncheck 🇦🇷 a🇭🇷 2022-12-14 08:39:09 +11:00
ray-x
32b4c162f0 gomvp support #176 2022-10-25 20:16:50 +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
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
Yajie Zhu
d94f5df507
fix: GoGet fail (#217)
Co-authored-by: zhuyajie <930664@qq.com>
2022-09-17 11:08:16 +10:00
ray-x
7d22162f59 range code action 2022-09-02 23:52:19 +10:00
ray-x
28bcaa1f44 quick gen return #170 2022-08-23 19:31:13 +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
3f2e7f49bd json to go struct 2022-08-04 23:30:52 +10:00
ray-x
524b65f85a bugfix: some user commands failed because incorrect setup of lua api 2022-08-04 10:35:38 +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
deccb2c6c3 GoMockGen cmd fix 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