Commit Graph

845 Commits (dadedaeda29058bcc0c1000dea16553d4f15e309)
 

Author SHA1 Message Date
ray-x dadedaeda2 cleanup after format save logic 3 months ago
ray-x 29a967457a backward compatibility for goimport <- goimports 3 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 9ac3e6faa3 make gofumpt default formatter (replacing golines) 3 months ago
ray-x 3c497f6e5e import save and auto format 3 months ago
ray-x 872612174c use vim API in init_lazy.lua 3 months ago
ray-x c7b4b1ae10 gopls notification and doc updates 3 months ago
ray-x 9dfc750472 gopls.change_signature 3 months ago
ray-x 737c44f5b4 force format after import 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.
4 months ago
ray-x 43850d00fe Put syntax file back based on comments of #424 4 months ago
ray-x 543b4b9346 Merge branch 'master' of github.com:ray-x/go.nvim 4 months ago
ray-x 0bc1b1d4f0 test spec 4 months ago
figuretu beec14d870
fix(doc): modify mismatched code block (#432)
Fixing markdown syntax errors in readme document
4 months ago
rayx 8efd0c89f2
Update README.md 4 months ago
rayx 22a634ad06
Update README.md 4 months ago
ray-x ae1b4a2974 markdown preview issue 4 months ago
ray-x e9d3a3809e markdown URL 4 months ago
ray-x 37af0acd53 Doc updates 4 months ago
ray-x 05ba8a9032 issue #424; neovim is deprecating non-treesitter based syntax highlighting, so it is this plugin 4 months ago
ray-x 7a52a370ab It is a fix for the plugin working together with cmp-commandline 4 months ago
ray-x 25d3060f61 using single quote for commands send to shell. It is more special setting for fish 4 months ago
ray-x 1bf7f88c68 Merge branch 'master' of github.com:ray-x/go.nvim 4 months ago
ray-x 4683835fbd mockgen updates 4 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
Viorel Craescu b111775c49
make command to setup local tests (#426) 4 months ago
ray-x 096f656920 stylua 5 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
5 months ago
ray-x 974b2f8518 typo 5 months ago
ray-x aff64193b7 bump up nvim minimum version to 0.9.4 5 months ago
ray-x 24d2fa373d issue #411 update TS struct definition 6 months ago
ray-x e352271f82 Merge branch 'master' of github.com:ray-x/go.nvim 6 months ago
ray-x bc391ff4ba inlay_hint toggle improvement, luasnip timestamp 6 months ago
vivid 1d140eec2a
Update README.md (#410) 6 months ago
ray-x 13a1044fc6 Issue #408 GoImplements 6 months ago
ray-x ae6a1025f9 README updates; log cleanup 7 months ago
ray-x 7b7c20029a Adding inlayhint default settings so it will be easier to override 7 months ago
ray-x e0528b5868 fix issue #402 7 months ago
ray-x 9cf2a3f846 issue #403 goenv failed for some shell/os 7 months ago
ray-x 9e3250e724 fix: null_ls failed to refresh after gotest was resolved 7 months ago
ray-x ad5db6a907 disable inlay in diff mode 7 months ago
ray-x 52ac15547c update ts sql/json query injection for nvim 0.10; may break 0.9.0 and below 7 months ago
ray-x da48e6155d Merge branch 'master' of github.com:ray-x/go.nvim 7 months ago
ray-x 889e9d94dd doc updates 7 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
7 months ago