Commit Graph

737 Commits (master)

Author SHA1 Message Date
ray-x d5e2b8cdd8 retiring richgo, use gotestsum instead 1 week 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
3 weeks ago
ray-x 591a0b8374 Breaking: update ts schema and it require treesitter and go parser
updates
4 weeks ago
ray-x 39c2452854 :GoLint should always set out-format=line-number 4 weeks ago
ray-x 32d1754fd4 better fallback to goimports 1 month ago
ray-x ae58327c9e updates gopls setting 1 month ago
ray-x abd282564a improve null_ls loading events and allow golangci_linter
linters to be configurable
1 month ago
ray-x 4d3fa34df0 allow ui.input/ui.select to be configurable issue #444 1 month ago
ray-x 6bdba9e1f3 revert removing fillstruct as some gopls user saw issues 2 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 2 months ago
ray-x 49311bcf17 github actions 2 months ago
ray-x 31c3ebe500 github action 2 months ago
ray-x f5717d79a8 bugfix GoMock does not respect '-d' setting 2 months ago
ray-x 3ff58b0741 gopls noSemanticString option 2 months ago
ray-x 72932a7799 update gopls setting and update README 2 months ago
ray-x dadedaeda2 cleanup after format save logic 2 months ago
ray-x 29a967457a backward compatibility for goimport <- goimports 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.
2 months ago
ray-x 9ac3e6faa3 make gofumpt default formatter (replacing golines) 2 months ago
ray-x 3c497f6e5e import save and auto format 2 months ago
ray-x c7b4b1ae10 gopls notification and doc updates 2 months ago
ray-x 9dfc750472 gopls.change_signature 2 months ago
ray-x 737c44f5b4 force format after import 2 months ago
ray-x d217a74fa8 move fillstruct to gopls only 2 months ago
ray-x 420987848b fillstruct 2 months ago
ray-x df6a2a6d75 Merge branch 'master' of github.com:ray-x/go.nvim 2 months ago
ray-x 6943c99599 remove reftool/fillstruct. use gopls fillstruct 2 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.
2 months ago
ray-x 0bc1b1d4f0 test spec 2 months ago
ray-x 7a52a370ab It is a fix for the plugin working together with cmp-commandline 2 months ago
ray-x 25d3060f61 using single quote for commands send to shell. It is more special setting for fish 2 months ago
ray-x 1bf7f88c68 Merge branch 'master' of github.com:ray-x/go.nvim 2 months ago
ray-x 4683835fbd mockgen updates 2 months ago
rayx d748e79011
Gh action fix (#427)
* code lens updates

* gopls spec

* vim.wait

* disable codelens in test
3 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
3 months ago
ray-x 096f656920 stylua 3 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
3 months ago
ray-x 24d2fa373d issue #411 update TS struct definition 4 months ago
ray-x bc391ff4ba inlay_hint toggle improvement, luasnip timestamp 5 months ago
ray-x 13a1044fc6 Issue #408 GoImplements 5 months ago
ray-x ae6a1025f9 README updates; log cleanup 5 months ago
ray-x 7b7c20029a Adding inlayhint default settings so it will be easier to override 5 months ago
ray-x e0528b5868 fix issue #402 5 months ago
ray-x 9cf2a3f846 issue #403 goenv failed for some shell/os 5 months ago
ray-x 9e3250e724 fix: null_ls failed to refresh after gotest was resolved 5 months ago
ray-x ad5db6a907 disable inlay in diff mode 6 months ago
ray-x da48e6155d Merge branch 'master' of github.com:ray-x/go.nvim 6 months ago
weirdgiraffe 55c496421f
fixup: check for env variables based on go env (#399)
* fixup: check for env variables based on go env

not all golang env specific variables are
injected into vim.env, so check their presence
based on go env instead

* prevent emtpy lines at the end of go build

* fixup: treat empty values as nil
6 months ago
ray-x 6008a754ef log file fs_write updates 6 months ago
ray-x e749ff85ff might releated to issue #382 but it is different approch 6 months ago