Commit Graph

626 Commits (cde0c7a110c0f65b9e4e6baf342654268efff371)

Author SHA1 Message Date
ray-x 9cf2a3f846 issue #403 goenv failed for some shell/os 11 months ago
ray-x 9e3250e724 fix: null_ls failed to refresh after gotest was resolved 11 months ago
ray-x ad5db6a907 disable inlay in diff mode 11 months ago
ray-x da48e6155d Merge branch 'master' of github.com:ray-x/go.nvim 11 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
11 months ago
ray-x 6008a754ef log file fs_write updates 11 months ago
ray-x e749ff85ff might releated to issue #382 but it is different approch 11 months ago
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
11 months ago
ray-x a78d5e1d81 go.nvim assert as https://github.com/neovim/neovim/pull/25512 been integrated into nightly
issue #398
11 months ago
ray-x f9672fd446 `gonew` with template URL; update `go work`
cleanup sandbox
11 months ago
ray-x 38f6402fa5 Go Work 11 months ago
ray-x 9329383d6d document tidy 11 months ago
ray-x a1a89f5040 checking windows os: add mingw 12 months ago
ray-x 7b818ad49d improvements for windows cmd line 12 months ago
ray-x 3b673f2560 issue #397 12 months ago
ray-x c64281d7dc Log style 12 months ago
ray-x 1b3a56acdd Use async fs_write for logging 12 months ago
ray-x ab303d5134 bugfix: nvim 0.10 + inlay: eol disable failed 12 months ago
ray-x 4a58e82fd7 naming and bugfix for nvim 0.10 inlay 12 months ago
ray-x b4cd53de46 inlay eol display issue #396 12 months ago
ray-x 1d720412aa issue #393 12 months ago
ray-x 4a5866562a spec updates 12 months ago
ray-x 3f1cee35c0 require minium version to be 0.8.1 12 months ago
ray-x df84343271 default goimport -> gopls 12 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
12 months ago
ray-x 694af9c0ee file autosave after format; disable autocmd when saving a file 1 year ago
ray-x 668875294d issue #389 handler for diagnostic is incorrect 1 year ago
ray-x 000a433b37 reverse typo 1 year ago
ray-x 0a508516f1 breaking: issue #375 diagnostics.hdlr=false by default as complains about the qickfix when file saved \n the feature need to turn on manually 1 year ago
ray-x cb8b506373 remove experimental gopls settings 1 year ago
ray-x 2f0c711629 toggle inlay.lua 1 year ago
ray-x 23d2f63ee9 deprecate nvim 0.7 and 0.8.0; use vim.lsp.inlay_hint for nightly 1 year ago
Lanre Adelowo 44a32ebb4f
Use Uber maintained mockgen fork (#386)
* use updated and maintained version of mocking

* Update install.lua

* Update install.lua

* use canonical url
1 year ago
ray-x 6e5370ad00 #207 refactor keymaps 1 year ago
ray-x f54fd80bd9 #207 remove confusing debug messages 1 year 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>
1 year ago
ray-x 0199367800 issue #372 Update GoTest argument parser 1 year ago
ray-x a43a3cba1e issue #377 GoRun -a {arguments} 1 year ago
ray-x dca79d6aad handle empty cmp hints 1 year ago
ray-x 0b04e4bdb4 Align with neovim diagnostic setup and deprecate settings. Update readme. 1 year ago
ray-x ba45846401 stylua 1 year ago
ray-x 94ae2b7666 go action version checker 1 year ago
ray-x 73cf272755 remove verbose debug info 1 year ago
rayx c61f9371cd
Fix github pipeline. Make gopls fmt/import async (#366)
* fillstruct updates
* gopls async fmt/import
* github action fix
* add gopls tests
1 year ago
ray-x 101a3df3e1 stylua 1 year ago
ray-x 7e5602dd51 issue #362 remove deprecated functions 1 year ago
aceforeverd 6550ddf5ce
fix(ui): replace obsolete nerd fonts from ui (#357)
nerdfont >= 3.0.0 dropped class name `nf-mdi-*`, replacing with new
class name `nf-md-*`.
The new class name exists since nerdfont 2.3.0 so user with nerdfont >=
2.3.0 installed should be fine.
Refer https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0
1 year ago
Krystian Kulgawczuk 8a0498ee48
New global variable for vertical cursor shift on GoIfErr (#347)
New variable will allow to customize exactly where cursor will end
up and allow user to set this exactly how they wish.

This change is backwards compatible as the default is the same
as was the hardcoded value.

Signed-off-by: Krystian Kulgawczuk <29754364+krystian-kulgawczuk@users.noreply.github.com>
1 year ago
ray-x 9fc0312c1a bumpup minium neovim requirement to 0.9 1 year ago
Grzegorz Szczudlik 915d5a02b9
Update snips.lua (#344)
vim.treesitter.set_query is deprecated. Using vim.treesitter.query.set instead.
1 year ago
ray-x 43be71be21 Inline Inlay hint for nvim 0.10.x 1 year ago
ray-x ed7e79b919 log disable for nulls 1 year ago
ray-x 1a2530d3e9 go test failed to locate test cases in windows 1 year ago
maru b119217e83
fixed deprecated function (#333)
Co-authored-by: qwexvf <qw3xvf@gmail.com>
1 year 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 40684d1ee0 GoInstallBinary with cmp-cmdline #331 1 year ago
ray-x 80670b2332 typo health.lua 2 years ago
ray-x 8bb852ba15 nvim 0.9 health API updates 2 years ago
Yajie Zhu e7e914cdc3
fix: GoTestFunc fileline jump issue (#327)
Co-authored-by: zhuyajie <930664@qq.com>
2 years ago
ray-x 37d226ca74 feature: [LSP] gopls default config support SemanticToken #321 2 years ago
Daniel Rivas fcc88590e0
issue-323 fix: check valid tags before overwriting gopls buildFlags (#324) 2 years ago
ray-x 7302dc4a20 ts api updates issue #319 2 years ago
ray-x 09ef69a363 neovim 0.9 TS query API 2 years ago
ray-x e49597d0d1 warn fix notify 2 years ago
ray-x 1be8ef7cdf bugfix null_ls go test 2 years ago
ray-x 636fe41c87 treesitter API changes 2 years ago
ray-x c02634a835 adjust default mapping in lsp 2 years ago
ray-x 24803e04b8 injection updates
golangci nulls updates
2 years ago
ray-x 35135921ee Dap-warning if virtual text not found 2 years ago
ray-x 41389a177e change severity level to info 2 years ago
ray-x 1fed4b733c [Feat] ginkgo releated commands and test 2 years ago
ray-x 5adafc5e45 ginkgo run test 2 years ago
ray-x 4ddd66affd remove logs 2 years ago
ray-x 47666f920f [Fix] goget fix for pkgname+URL
[Feat] ginkgo cmds
2 years ago
ray-x 397992cefc [Feat] allow GoBuild %:h to build package current buffer is in 2 years ago
ray-x fd88c61e5d go action failure 2 years ago
ray-x 55fe49fcaf issue #313 new file with template file 2 years ago
ray-x 1b6ea0b8ec nvim 0.8.3 only changes 2 years ago
ray-x 3b5b6b8aac semanticTokensProvider workaround https://github.com/golang/go/issues/54531
waiting on gopls new version release
2 years ago
ray-x 063bf059e3 [Feat] % to expand to current file in cmdline 2 years ago
ray-x 0133147c1f Dap attach remote 2 years ago
ray-x c944e7174d dap attach issue #312 2 years ago
Mr.Z a67b012054
perf:make keys window border beauty (#311)
Co-authored-by: zhaogang <zhaogang@dustess.com>
2 years ago
Mr.Z 048bac60ac
feat:add keys window border, cause this keys window will confuse text with debug code, add border could be clear (#310)
Co-authored-by: zhaogang <zhaogang@dustess.com>
2 years ago
ray-x 0225f85e0a GoImpl handle both type and interface are specifed 2 years ago
ray-x c0b676f9cb issue #306 auto complete local struct/interface 2 years ago
ray-x 7d7b081bf3 GoDoc argument handling
loclist 'r' options
Readme Updates
2 years ago
ray-x 4d06661337 handle floaterm for tests 2 years ago
ray-x edf61c77e1 allow show stderr from runner 2 years ago
zhaogangang 49929db247
fix:go unit test flag "-run" not "-r" (#302)
* fix:go unit test flag "-run" not "-r"

* fix:just consider not use floaterm

* chores

---------

Co-authored-by: zhaogang <zhaogang@dustess.com>
2 years ago
zhaogangang 403fde13a5
fix:fix can't show inlay in currentline setting (#300)
* fix:fix can't show inlay in currentline setting

* chore:format

* chore:format

---------

Co-authored-by: zhaogang <zhaogang@dustess.com>
2 years ago
ray-x 3e94e28b11 use schedule to wrap notify 2 years ago
Yohanes Bandung Bondowoso 595cd561e6
fix: coverage command should be coverprofile #296 (#299)
* fix: coverage command should be coverprofile

* refactor: README
2 years ago
ray-x 750b5e5603 issue #298 extra debug log info 2 years ago
xiwang 11b5661e6c
fix: rename ts_utils.get_node_range -> vim.treesitter.get_node_range (#298) 2 years ago
ray-x 8f4386a683 bugfix GoTestXXXX with flag -C for coverage not working #296 2 years ago
ray-x 2ed66cb302 Allow on_stdout/exit/stderr hooks so the jobs can be pipelined 2 years ago
ray-x 0f0b8fe795 showing test failed message when #diag>0 in null-ls 2 years ago
ray-x b7f7110d01 performance for null-ls cache path detection
async call inside null-ls
bugfix fish/bash/zsh GoTestFile
2 years ago
ray-x 0912de62af incidentally checked in a incorrect version 2 years ago