Commit Graph

729 Commits (8b28f988779d86eaad28f8057b6c0187f35c191c)

Author SHA1 Message Date
ray-x 2f0c711629 toggle inlay.lua 12 months ago
ray-x 23d2f63ee9 deprecate nvim 0.7 and 0.8.0; use vim.lsp.inlay_hint for nightly 12 months 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
12 months ago
ray-x 6e5370ad00 #207 refactor keymaps 12 months ago
ray-x f54fd80bd9 #207 remove confusing debug messages 12 months 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
qasimwarraich 97b76f3188
change default `lsp_diag_virtual_text` prefix to nvim default (#353) 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 1 year ago
ray-x 8bb852ba15 nvim 0.9 health API updates 1 year ago
Yajie Zhu e7e914cdc3
fix: GoTestFunc fileline jump issue (#327)
Co-authored-by: zhuyajie <930664@qq.com>
1 year ago
ray-x 37d226ca74 feature: [LSP] gopls default config support SemanticToken #321 1 year ago
Daniel Rivas fcc88590e0
issue-323 fix: check valid tags before overwriting gopls buildFlags (#324) 1 year 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 290ecba852 github action & unit test updates 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 a831650732 go test spec update 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
ray-x b9f161c18e null-ls source: golangci-lint and gotest is async now
gomvp minor fix
command auto complete
2 years ago
ray-x 9c7a802472 [FEAT] float terminal title 2 years ago
ray-x fbb0b87de9 use executable instead of search $PATH 2 years ago
ray-x 4f3d09f0a3 use vim.log.levels instead of vim.lsp.log_levels 2 years ago
TinyBox 4977d3165d
🐛 make the template and template dir parameters independent. (#292) 2 years ago
zhaogangang 04a6488740
fix:opened double repl (#291)
* fix:opened double repl

* Update dap.lua

clean up

---------

Co-authored-by: zhaogang <zhaogang@dustess.com>
Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x 9d0cc3f610 github action 2 years ago
ray-x 1b3d21a184 issue #287 lsp not loaded 2 years ago
ray-x cfa108913f revert go.lua changes for defer 2 years ago
ray-x 1abff83944 update logs and setup 2 years ago
ray-x 57cad1e5a7 go doc fix. always fallback to hover 2 years ago
xiwang edadc285c3
fix spelling mistakes (#285) 2 years ago
ray-x 470349cff5 lazy.nvim based lazy loading 2 years ago
ray-x 87263fbeff Updated command autocomplete, it failed to work in neovim v0.9. I have
no idea when it began to fail, might because I lazy load the go.nvim;
Also cache some of the result for completion list.

Changes to be committed:
       modified:   lua/go/commands.lua
       modified:   lua/go/complete.lua
       modified:   lua/go/godoc.lua
       modified:   lua/go/package.lua
2 years ago
ray-x 10349e1e43 issue #281 incorrect file path 2 years ago
ray-x 7e3e3746bb skip treesitter when file is not fully loaded 2 years ago
ray-x 4fb1f4e51f deprecate apis 2 years ago
blob42 967de31b19
fix E5560 wrap vim api calls inside luv loop (#282)
Co-authored-by: blob42 <spike@w530>
2 years ago
ray-x 76a0e7bdf4 fix pipeline failure 2 years ago
ray-x b9e381678e bugfix issue #281 2 years ago
ray-x 3a853d50af move ftdetect/ftplugin around; gomod detecting 2 years ago
blob42 bd9caf8d0e
fix nil error (#280)
* fix nil error

* Update null_ls.lua

---------

Co-authored-by: blob42 <spike@w530>
Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x 2c40773901 issue #279 go tests failed 2 years ago
ray-x 7f18793a6a local test 2 years ago
ray-x fd71b874e7 clean up 2 years ago
ray-x c74af231c7 treesitter cache 2 years ago
ray-x b9d9d6ad91 timing 2 years ago
djdv 6bdda64546
utils.lua remove debugging expression (#277) 2 years ago
ray-x c1817f643c cache the ts nodes based on file time; null_ls timeout 2 years ago
ray-x ab678d7f42 error format for panic in null-ls go tests 2 years ago
ray-x adab4c599d test file instead of package to speed up 2 years ago
ray-x ae666827cf float position issue #257 2 years ago
ray-x 9a62547dbd stylua 2 years ago
ray-x d855fabb02 null-ls go test function act error checking 2 years ago
ray-x 19e6350fc8 filter on _test.go files 2 years ago
ray-x 13f5e15fd7 issue #273 mockgen install failure 2 years ago
ray-x 735c1d4c23 add update_all_sync 2 years ago
ray-x 24ebd55c3f install_all_sync 2 years ago
ray-x d7865272a5 issue #273 sync install binaries 2 years ago
ray-x adc24af96c remove depencies #273 2 years ago
ray-x 9a71c61371 issue #272 add notify 2 years ago
ray-x a0a57a88e8 go code action for null-ls 2 years ago
ray-x 16894803d7 updates null-ls gotest source: only run command when file saved 2 years ago
ray-x 7e6fe7a062 [feature] null-ls message redirect to quickfix 2 years ago
ray-x 276ebe8654 [Feature] integrate with null-ls. Add go.nvim as a null-ls source
Run `go test` on file save and
show diagnostic messages in LSP virtual text.
2 years ago
ray-x 793b0d1ede lint 2 years ago
ray-x d0e7922742 issue #271 go-generate failure for codes inside package 2 years ago
ray-x 106ec4de3d issue #269 dap-ui setup config 2 years ago
ray-x 5583315322 healthcheck updates 2 years ago
ray-x 281b51a18c health messages 2 years ago
ray-x 9394e7decb tidy 2 years ago
ray-x dcb8662e6c checkhealth and go-enum update 2 years ago
ray-x 6ff9cbad4c check go ts parser 2 years ago
ray-x f33866ed00 Feature: run & debug a subtest inside table driven test cases 2 years ago
ray-x 1f52335ea3 feature: go-enum. issue #260, gopls setting move to function local var 2 years ago
ray-x b9c8ea1d7f Bugfix: GoTest path option duplicate path args 2 years ago
ray-x 8ac0c51269 health check issue #267 2 years ago
ray-x 26fd07ebad use gopls in gofmt 2 years ago
ray-x 8a959ec37b go-enum support 🎄🎆 2 years ago
ray-x d2924e7902 go coverage combine 🎄🎆 2 years ago
ray-x a4dd40d8f8 partial covered test 🎄🎆 2 years ago
ray-x b53dfd4fdb dap options for time out issue #263 🎄🎆 2 years ago
rayx 0f72dbdd87
Fix unit test errors 🎄🎆 (#265)
* test pipeline

* update unit tests
2 years ago
ray-x 17adc5c600 [feature] go coverage partially tested, skip covered 🎄🎆 2 years ago
ray-x 02fbdd126c issue #264 coverage line num mismatch 🎄🎆 2 years ago
ray-x 9f0d92ab2d coverage args update -t 🎄 2 years ago
ray-x 2d05643e91 coverage args update 🎄 2 years ago
ray-x 5cefc346e7 luacheck lint, deprecate nvim-0.5 support 🏆🇦🇷 👋🇫🇷 2 years ago
ray-x a6e01901d2 🇫🇷 🇲🇦 😍 2 years ago
ray-x 5e980b00c7 add new command: govulncheck 🇦🇷 a🇭🇷 2 years ago
ray-x 12d262b99d update gotestsum info in readme and vim doc 🎄 2 years ago
ray-x a99aa80a17 update unit tests 🇦🇷 a🇭🇷 2 years ago
ray-x c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 2 years ago
ray-x 4529240971 feature: animation on build/compile/run/test 2 years ago
ray-x 7d5c09b9c4 lint 2 years ago
Sidney Wijngaarde 8550253c66
fix: tags add comparison typo (#247) 2 years ago
ray-x 02943e5316 gomodifytags options 2 years ago