Commit Graph

626 Commits (cde0c7a110c0f65b9e4e6baf342654268efff371)

Author SHA1 Message Date
ray-x 3b1f1e35af remove go guru supports.
Strange that I do not even have documents for those commands. I assume
it not been used given gopls is been a modern replacement
4 months ago
ray-x 78c6d7b970 fix unit tests 4 months ago
ray-x b3ee7aea17 feature: add preludes for GoRun; Simplify asyncmake; 4 months ago
ray-x 9af9ab16fc Merge branch 'master' of github.com:ray-x/go.nvim 4 months ago
Tzu-Yu Lee fca26b0569
fix: limit codelens refresh to current buffer (#476)
The behavior of `vim.lsp.codelens.refresh()` had been changed in
https://github.com/neovim/neovim/pull/27253 to refresh all open
buffers.

This changes the function calls to specify the current buffer to
maintain the old behavior.

Fixes https://github.com/ray-x/go.nvim/issues/472.
4 months ago
ray-x 2506882c16 fix issue #449 GoTest resets makeprog 5 months ago
Mr.Z 1423d5d082
fix:`diagnostic` config may be a false (#466)
Co-authored-by: zhaogang <zhaogang@dustess.com>
5 months ago
ray-x 294d65c935 house clean, and use a deep reset of config; diagnostic trigger will be depends on diagnostic.update_in_insert 5 months ago
ray-x 8008d16951 unbreak-breakingchanges #459 get_active_clients deprecated 5 months ago
kkrime db45cc91cf
made change to close qf windown when same command is run again and al… (#458)
* made change to close qf windown when same command is run again and all issues fixed

* fixup! made change to close qf windown when same command is run again and all issues fixed

---------

Co-authored-by: Iraq Jaber <IraqJaber@gmail.com>
5 months ago
ray-x 4348ba67c2 lsp inlay refact and test update 5 months ago
ray-x d5e2b8cdd8 retiring richgo, use gotestsum instead 6 months ago
Matthew Taylor ae078b8da4
Fixes #451 inlay hint api change (#452)
Breaking: requires latest neovim nightly (f1dfe32bf5552197e0068298b0527526a4f918b1)
feat(lua): enable(enable:boolean, filter:table) #28374

* Fixes #451 inlay hint api change

Change the calls to inlay_hint.enable to arrange the
parameters in the expected way.

* correct filter table expression
6 months ago
ray-x 591a0b8374 Breaking: update ts schema and it require treesitter and go parser
updates
6 months ago
ray-x 39c2452854 :GoLint should always set out-format=line-number 6 months ago
ray-x 32d1754fd4 better fallback to goimports 6 months ago
ray-x ae58327c9e updates gopls setting 7 months ago
ray-x abd282564a improve null_ls loading events and allow golangci_linter
linters to be configurable
7 months ago
ray-x 4d3fa34df0 allow ui.input/ui.select to be configurable issue #444 7 months ago
ray-x 6bdba9e1f3 revert removing fillstruct as some gopls user saw issues 7 months ago
ray-x a3ce5016f5 remove typecheck from golanci-lint as gopls should cover it. also when run in single file mode it has lots of false positive 7 months ago
ray-x f5717d79a8 bugfix GoMock does not respect '-d' setting 7 months ago
ray-x 3ff58b0741 gopls noSemanticString option 7 months ago
ray-x 72932a7799 update gopls setting and update README 7 months ago
ray-x dadedaeda2 cleanup after format save logic 7 months ago
ray-x 29a967457a backward compatibility for goimport <- goimports 7 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.
7 months ago
ray-x 9ac3e6faa3 make gofumpt default formatter (replacing golines) 7 months ago
ray-x 3c497f6e5e import save and auto format 7 months ago
ray-x c7b4b1ae10 gopls notification and doc updates 7 months ago
ray-x 9dfc750472 gopls.change_signature 7 months ago
ray-x 737c44f5b4 force format after import 7 months ago
ray-x d217a74fa8 move fillstruct to gopls only 7 months ago
ray-x df6a2a6d75 Merge branch 'master' of github.com:ray-x/go.nvim 7 months ago
ray-x 6943c99599 remove reftool/fillstruct. use gopls fillstruct 7 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.
8 months ago
ray-x 7a52a370ab It is a fix for the plugin working together with cmp-commandline 8 months ago
ray-x 25d3060f61 using single quote for commands send to shell. It is more special setting for fish 8 months ago
ray-x 1bf7f88c68 Merge branch 'master' of github.com:ray-x/go.nvim 8 months ago
ray-x 4683835fbd mockgen updates 8 months ago
rayx d748e79011
Gh action fix (#427)
* code lens updates

* gopls spec

* vim.wait

* disable codelens in test
8 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
8 months ago
ray-x 096f656920 stylua 9 months ago
Allen Horine 41c126718a
Updates to treesitter queries to support upstream changes (#425)
* Adjusted local.scm queries to fix crashes when using treesitter post-v0.9.2

* Accounted for 'local' subtable in treesitter matches when querying locals
9 months ago
ray-x 24d2fa373d issue #411 update TS struct definition 10 months ago
ray-x bc391ff4ba inlay_hint toggle improvement, luasnip timestamp 10 months ago
ray-x 13a1044fc6 Issue #408 GoImplements 10 months ago
ray-x ae6a1025f9 README updates; log cleanup 11 months ago
ray-x 7b7c20029a Adding inlayhint default settings so it will be easier to override 11 months ago
ray-x e0528b5868 fix issue #402 11 months ago