Commit Graph

112 Commits (master)

Author SHA1 Message Date
ray-x 4348ba67c2 lsp inlay refact and test update 3 weeks ago
ray-x 49311bcf17 github actions 2 months ago
ray-x 31c3ebe500 github action 2 months ago
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.
3 months ago
ray-x d217a74fa8 move fillstruct to gopls only 3 months ago
ray-x 420987848b fillstruct 3 months ago
ray-x df6a2a6d75 Merge branch 'master' of github.com:ray-x/go.nvim 3 months ago
ray-x 6943c99599 remove reftool/fillstruct. use gopls fillstruct 3 months ago
Mike Cheng 00f154ccd2
fix: prefix -run in GoTestXXX with '-test' (#435)
When providing custom arguments (`:GoTest-n -a -test.timeout=5s`), the
resultant command will be:

`go test <package> -args -test.timeout=5s -run=<exp>`

Since `-run` is after `-args`, the `-test.` prefix is required to be
properly detected. According to `go help testflags`, all test commands
are recognized with this prefix.
3 months ago
ray-x 0bc1b1d4f0 test spec 3 months ago
ray-x 1bf7f88c68 Merge branch 'master' of github.com:ray-x/go.nvim 3 months ago
ray-x 4683835fbd mockgen updates 3 months ago
rayx d748e79011
Gh action fix (#427)
* code lens updates

* gopls spec

* vim.wait

* disable codelens in test
4 months ago
Viorel Craescu 9ccb57766e
go sub tests names needs to be regex quoted (#420)
* go sub tests names needs to be regex quoted

* fix lua tests

* create test scenario
4 months ago
ray-x dbb712ec9f golden file updates 7 months ago
rayx 7852fd8e1c
Fixtures Updates (#392)
* go mod setup for fixtures

* go mod setup for fixtures

* fillstruct test refactor
7 months ago
rayx c4819d1625
CLI refact (#391)
* some refact of gotest

* issue #376 add handlers to async formatting

* issue #343 title length

* add parallel flag

* disable trace log

* Error lines output in github action

* Go mod update in fixtures
7 months ago
thuan1412 54387e506e
improve GoTestSubCase command (#385)
* save code

* it works

* update tbl case query

* fix file diff

* update tests

---------

Co-authored-by: Thuấn Đỗ Hoàng <thuan.dh@teko.com>
8 months ago
rayx c61f9371cd
Fix github pipeline. Make gopls fmt/import async (#366)
* fillstruct updates
* gopls async fmt/import
* github action fix
* add gopls tests
10 months ago
Faustin Date 8ea5439288
Ensure correct tools installation in goenv mode (#332)
* Ensure correct tools installation in goenv mode

Tools will be installed in appropriated directory when
[goenv](https://github.com/syndbg/goenv) manages
GOPATH.

* Check goenv existence with which

* Try better (?) goenv detection command

* Do not check if tool is installed twice

Once a tool is known to be installed, that information is cached in
utils.installed_tools.

* Wait 500ms for action to take effect in tests
1 year ago
ray-x 290ecba852 github action & unit test updates 1 year ago
ray-x a831650732 go test spec update 1 year ago
ray-x 7f18793a6a local test 1 year ago
ray-x c74af231c7 treesitter cache 1 year ago
ray-x d2924e7902 go coverage combine 🎄🎆 1 year ago
rayx 0f72dbdd87
Fix unit test errors 🎄🎆 (#265)
* test pipeline

* update unit tests
1 year ago
ray-x 17adc5c600 [feature] go coverage partially tested, skip covered 🎄🎆 1 year ago
ray-x 02fbdd126c issue #264 coverage line num mismatch 🎄🎆 1 year ago
ray-x a6e01901d2 🇫🇷 🇲🇦 😍 1 year ago
ray-x a99aa80a17 update unit tests 🇦🇷 a🇭🇷 1 year ago
ray-x 7d5c09b9c4 lint 2 years ago
Shaw Vrana 4599360f5d
Add ability to set gomodifytag options in config (#246) 2 years ago
ray-x a5b307c35c shada=NONE 2 years ago
Roy Choo 6602986054
fix(gotest): wrong order of test binary args (#230)
Co-authored-by: Roy Choo <roy.choo@bytedance.com>
2 years ago
Syncrack a32e0c2f1b
ci: add one more empty line (#227) 2 years ago
ray-x 5b33d782f3 GoTestSum and sidepanel 2 years ago
ray-x 28bcaa1f44 quick gen return #170 2 years ago
ray-x 2a48166beb mockgen 2 years ago
ray-x feaef378b7 testcase update 2 years ago
ray-x b7d6288bbd use neovim 0.7 API to create commands. this is a breaking change for anyone using neovim 0.6.x 2 years ago
ray-x 7aed764507 allow more trigger events for codelens 2 years ago
ray-x 144eb6fb2a issue #182 setup merge 2 years ago
ray-x 3774ac0eba lint 2 years ago
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
2 years ago
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
2 years ago
ray-x 1315ed89ad add tests for asyncmake 2 years ago
ray-x 31624e1365 treesitter node for struct and type 2 years ago
ray-x eaec8c45f2 revert changes to golden file 2 years ago
ray-x 8021f2a484 fix test automation 2 years ago
ray-x c588f2bf4a tests updates 2 years ago