Commit Graph

716 Commits

Author SHA1 Message Date
ray-x
9dfc750472 gopls.change_signature 2024-03-13 11:30:20 +11:00
ray-x
737c44f5b4 force format after import 2024-03-12 21:10:31 +11:00
ray-x
d217a74fa8 move fillstruct to gopls only 2024-03-10 18:59:40 +11:00
ray-x
420987848b fillstruct 2024-03-09 19:18:43 +11:00
ray-x
df6a2a6d75 Merge branch 'master' of github.com:ray-x/go.nvim 2024-03-09 19:14:36 +11:00
ray-x
6943c99599 remove reftool/fillstruct. use gopls fillstruct 2024-03-09 19:12:48 +11:00
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.
2024-03-06 10:59:10 +11:00
ray-x
0bc1b1d4f0 test spec 2024-03-02 23:18:16 +11:00
ray-x
7a52a370ab It is a fix for the plugin working together with cmp-commandline 2024-02-29 12:58:19 +11:00
ray-x
25d3060f61 using single quote for commands send to shell. It is more special setting for fish 2024-02-29 10:40:46 +11:00
ray-x
1bf7f88c68 Merge branch 'master' of github.com:ray-x/go.nvim 2024-02-29 09:55:12 +11:00
ray-x
4683835fbd mockgen updates 2024-02-29 09:55:04 +11:00
rayx
d748e79011
Gh action fix (#427)
* code lens updates

* gopls spec

* vim.wait

* disable codelens in test
2024-02-10 13:17:49 +11:00
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
2024-02-09 20:28:31 +11:00
ray-x
096f656920 stylua 2024-02-02 20:16:49 +11:00
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
2024-02-02 20:00:53 +11:00
ray-x
24d2fa373d issue #411 update TS struct definition 2023-12-27 17:25:09 +11:00
ray-x
bc391ff4ba inlay_hint toggle improvement, luasnip timestamp 2023-12-22 01:46:35 +11:00
ray-x
13a1044fc6 Issue #408 GoImplements 2023-12-15 09:45:04 +11:00
ray-x
ae6a1025f9 README updates; log cleanup 2023-12-02 19:33:56 +11:00
ray-x
7b7c20029a Adding inlayhint default settings so it will be easier to override 2023-12-01 19:08:36 +11:00
ray-x
e0528b5868 fix issue #402 2023-11-28 22:16:09 +11:00
ray-x
9cf2a3f846 issue #403 goenv failed for some shell/os 2023-11-28 17:50:33 +11:00
ray-x
9e3250e724 fix: null_ls failed to refresh after gotest was resolved 2023-11-28 17:39:33 +11:00
ray-x
ad5db6a907 disable inlay in diff mode 2023-11-24 21:10:04 +11:00
ray-x
da48e6155d Merge branch 'master' of github.com:ray-x/go.nvim 2023-11-21 20:03:58 +11:00
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
2023-11-21 19:57:57 +11:00
ray-x
6008a754ef log file fs_write updates 2023-11-20 01:31:54 +11:00
ray-x
e749ff85ff might releated to issue #382 but it is different approch 2023-11-15 17:34:03 +11:00
ray-x
15bf9aea88 issue #384 a possible fix
As I do not have access to the error log, this is more a try my best guess and fix
2023-11-14 21:32:14 +11:00
ray-x
dbb712ec9f golden file updates 2023-11-14 21:23:34 +11:00
ray-x
a78d5e1d81 go.nvim assert as https://github.com/neovim/neovim/pull/25512 been integrated into nightly
issue #398
2023-11-14 20:58:19 +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
9329383d6d document tidy 2023-11-09 21:51:43 +11:00
ray-x
a1a89f5040 checking windows os: add mingw 2023-11-08 17:17:07 +11:00
ray-x
7b818ad49d improvements for windows cmd line 2023-11-08 17:03:33 +11:00
ray-x
3b673f2560 issue #397 2023-11-08 08:31:21 +11:00
ray-x
c64281d7dc Log style 2023-11-07 20:07:30 +11:00
ray-x
1b3a56acdd Use async fs_write for logging 2023-11-07 19:44:17 +11:00
ray-x
ab303d5134 bugfix: nvim 0.10 + inlay: eol disable failed 2023-11-07 13:41:23 +11:00
ray-x
4a58e82fd7 naming and bugfix for nvim 0.10 inlay 2023-11-07 13:28:23 +11:00
ray-x
88ff8aa753 doc updates 2023-11-07 12:30:13 +11:00
ray-x
bb40efd959 Update README 2023-11-07 12:25:51 +11:00
ray-x
b4cd53de46 inlay eol display issue #396 2023-11-07 12:19:48 +11:00
ray-x
57a3c3e748 Merge branch 'fixtures' 2023-11-04 19:35:46 +11:00
Itamar Lencovsky
47dd8f4f88
rename the spacing key for the diagnostic virtual text to match the spec (#395) 2023-11-03 18:40:08 +11:00
ray-x
1d720412aa issue #393 2023-11-02 00:40:15 +11:00
rayx
47273b8ac9
Fixtures: Unit tests updates (#394)
* go mod setup for fixtures

* fillstruct refactor
2023-11-01 21:17:54 +11:00
ray-x
c9645e4ef1 lua lint 2023-11-01 21:13:13 +11:00