Commit Graph

740 Commits (master)

Author SHA1 Message Date
ray-x b6fea68130 fixtures 7 months ago
ray-x 689506f59f fillstruct test 7 months ago
ray-x 37581bf1cb fillstruct refactor 7 months ago
ray-x 220c57d776 go mod setup for fixtures 7 months ago
ray-x 561e9f74d9 go mod setup for fixtures 7 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
7 months ago
ray-x 694af9c0ee file autosave after format; disable autocmd when saving a file 7 months ago
ray-x 668875294d issue #389 handler for diagnostic is incorrect 7 months ago
ray-x 000a433b37 reverse typo 7 months 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 7 months ago
ray-x cb8b506373 remove experimental gopls settings 7 months ago
ray-x 2f0c711629 toggle inlay.lua 7 months ago
ray-x 23d2f63ee9 deprecate nvim 0.7 and 0.8.0; use vim.lsp.inlay_hint for nightly 7 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
7 months ago
ray-x 6e5370ad00 #207 refactor keymaps 7 months ago
ray-x f54fd80bd9 #207 remove confusing debug messages 7 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>
8 months ago
ray-x 0199367800 issue #372 Update GoTest argument parser 8 months ago
ray-x a43a3cba1e issue #377 GoRun -a {arguments} 8 months ago
ray-x dca79d6aad handle empty cmp hints 8 months ago
ray-x 0b04e4bdb4 Align with neovim diagnostic setup and deprecate settings. Update readme. 8 months ago
ray-x ba45846401 stylua 9 months ago
ray-x 94ae2b7666 go action version checker 9 months ago
ray-x 73cf272755 remove verbose debug info 9 months ago
rayx c61f9371cd
Fix github pipeline. Make gopls fmt/import async (#366)
* fillstruct updates
* gopls async fmt/import
* github action fix
* add gopls tests
10 months ago
ray-x 101a3df3e1 stylua 10 months ago
ray-x 7e5602dd51 issue #362 remove deprecated functions 10 months 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
11 months ago
qasimwarraich 97b76f3188
change default `lsp_diag_virtual_text` prefix to nvim default (#353) 11 months 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>
12 months ago
ray-x 9fc0312c1a bumpup minium neovim requirement to 0.9 12 months ago
Grzegorz Szczudlik 915d5a02b9
Update snips.lua (#344)
vim.treesitter.set_query is deprecated. Using vim.treesitter.query.set instead.
12 months 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 1 year ago
ray-x 09ef69a363 neovim 0.9 TS query API 1 year ago
ray-x e49597d0d1 warn fix notify 1 year ago
ray-x 1be8ef7cdf bugfix null_ls go test 1 year ago
ray-x 636fe41c87 treesitter API changes 1 year ago
ray-x c02634a835 adjust default mapping in lsp 1 year ago
ray-x 24803e04b8 injection updates
golangci nulls updates
1 year ago
ray-x 35135921ee Dap-warning if virtual text not found 1 year ago
ray-x 41389a177e change severity level to info 1 year ago
ray-x 1fed4b733c [Feat] ginkgo releated commands and test 1 year ago
ray-x 5adafc5e45 ginkgo run test 1 year ago
ray-x 4ddd66affd remove logs 1 year ago
ray-x 47666f920f [Fix] goget fix for pkgname+URL
[Feat] ginkgo cmds
1 year ago
ray-x 397992cefc [Feat] allow GoBuild %:h to build package current buffer is in 1 year ago
ray-x fd88c61e5d go action failure 1 year ago
ray-x 55fe49fcaf issue #313 new file with template file 1 year ago
ray-x 1b6ea0b8ec nvim 0.8.3 only changes 1 year ago
ray-x 3b5b6b8aac semanticTokensProvider workaround https://github.com/golang/go/issues/54531
waiting on gopls new version release
1 year ago
ray-x 063bf059e3 [Feat] % to expand to current file in cmdline 1 year ago
ray-x 0133147c1f Dap attach remote 1 year ago
ray-x c944e7174d dap attach issue #312 1 year ago
Mr.Z a67b012054
perf:make keys window border beauty (#311)
Co-authored-by: zhaogang <zhaogang@dustess.com>
1 year 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>
1 year ago
ray-x 0225f85e0a GoImpl handle both type and interface are specifed 1 year ago
ray-x c0b676f9cb issue #306 auto complete local struct/interface 1 year ago
ray-x 7d7b081bf3 GoDoc argument handling
loclist 'r' options
Readme Updates
1 year ago
ray-x 4d06661337 handle floaterm for tests 1 year ago
ray-x edf61c77e1 allow show stderr from runner 1 year 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>
1 year 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>
1 year ago
ray-x 3e94e28b11 use schedule to wrap notify 1 year ago
Yohanes Bandung Bondowoso 595cd561e6
fix: coverage command should be coverprofile #296 (#299)
* fix: coverage command should be coverprofile

* refactor: README
1 year ago
ray-x 750b5e5603 issue #298 extra debug log info 1 year ago
xiwang 11b5661e6c
fix: rename ts_utils.get_node_range -> vim.treesitter.get_node_range (#298) 1 year ago
ray-x 8f4386a683 bugfix GoTestXXXX with flag -C for coverage not working #296 1 year ago
ray-x 290ecba852 github action & unit test updates 1 year ago
ray-x 2ed66cb302 Allow on_stdout/exit/stderr hooks so the jobs can be pipelined 1 year ago
ray-x 0f0b8fe795 showing test failed message when #diag>0 in null-ls 1 year ago
ray-x a831650732 go test spec update 1 year ago
ray-x b7f7110d01 performance for null-ls cache path detection
async call inside null-ls
bugfix fish/bash/zsh GoTestFile
1 year ago
ray-x 0912de62af incidentally checked in a incorrect version 1 year ago
ray-x b9f161c18e null-ls source: golangci-lint and gotest is async now
gomvp minor fix
command auto complete
1 year ago
ray-x 9c7a802472 [FEAT] float terminal title 1 year ago
ray-x fbb0b87de9 use executable instead of search $PATH 1 year ago
ray-x 4f3d09f0a3 use vim.log.levels instead of vim.lsp.log_levels 1 year ago
TinyBox 4977d3165d
🐛 make the template and template dir parameters independent. (#292) 1 year 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>
1 year ago
ray-x 9d0cc3f610 github action 1 year ago
ray-x 1b3d21a184 issue #287 lsp not loaded 1 year ago
ray-x cfa108913f revert go.lua changes for defer 1 year ago
ray-x 1abff83944 update logs and setup 1 year ago
ray-x 57cad1e5a7 go doc fix. always fallback to hover 1 year ago
xiwang edadc285c3
fix spelling mistakes (#285) 1 year ago
ray-x 470349cff5 lazy.nvim based lazy loading 1 year 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
1 year ago
ray-x 10349e1e43 issue #281 incorrect file path 1 year ago
ray-x 7e3e3746bb skip treesitter when file is not fully loaded 1 year ago
ray-x 4fb1f4e51f deprecate apis 1 year ago
blob42 967de31b19
fix E5560 wrap vim api calls inside luv loop (#282)
Co-authored-by: blob42 <spike@w530>
1 year ago
ray-x 76a0e7bdf4 fix pipeline failure 1 year ago
ray-x b9e381678e bugfix issue #281 1 year ago
ray-x 3a853d50af move ftdetect/ftplugin around; gomod detecting 1 year 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>
1 year ago
ray-x 2c40773901 issue #279 go tests failed 1 year ago
ray-x 7f18793a6a local test 1 year ago
ray-x fd71b874e7 clean up 1 year ago
ray-x c74af231c7 treesitter cache 1 year ago
ray-x b9d9d6ad91 timing 1 year ago
djdv 6bdda64546
utils.lua remove debugging expression (#277) 1 year ago
ray-x c1817f643c cache the ts nodes based on file time; null_ls timeout 1 year ago
ray-x ab678d7f42 error format for panic in null-ls go tests 1 year ago
ray-x adab4c599d test file instead of package to speed up 1 year ago
ray-x ae666827cf float position issue #257 1 year ago
ray-x 9a62547dbd stylua 1 year ago
ray-x d855fabb02 null-ls go test function act error checking 1 year ago
ray-x 19e6350fc8 filter on _test.go files 1 year ago
ray-x 13f5e15fd7 issue #273 mockgen install failure 1 year ago
ray-x 735c1d4c23 add update_all_sync 1 year ago
ray-x 24ebd55c3f install_all_sync 1 year ago
ray-x d7865272a5 issue #273 sync install binaries 1 year ago
ray-x adc24af96c remove depencies #273 1 year ago
ray-x 9a71c61371 issue #272 add notify 1 year ago
ray-x a0a57a88e8 go code action for null-ls 1 year ago
ray-x 16894803d7 updates null-ls gotest source: only run command when file saved 1 year ago
ray-x 7e6fe7a062 [feature] null-ls message redirect to quickfix 1 year 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.
1 year ago
ray-x 793b0d1ede lint 1 year ago
ray-x d0e7922742 issue #271 go-generate failure for codes inside package 1 year ago
ray-x 106ec4de3d issue #269 dap-ui setup config 1 year ago
ray-x 5583315322 healthcheck updates 1 year ago
ray-x 281b51a18c health messages 1 year ago
ray-x 9394e7decb tidy 1 year ago
ray-x dcb8662e6c checkhealth and go-enum update 1 year ago
ray-x 6ff9cbad4c check go ts parser 1 year ago
ray-x f33866ed00 Feature: run & debug a subtest inside table driven test cases 1 year ago
ray-x 1f52335ea3 feature: go-enum. issue #260, gopls setting move to function local var 1 year ago
ray-x b9c8ea1d7f Bugfix: GoTest path option duplicate path args 1 year ago
ray-x 8ac0c51269 health check issue #267 1 year ago
ray-x 26fd07ebad use gopls in gofmt 1 year ago
ray-x 8a959ec37b go-enum support 🎄🎆 1 year ago
ray-x d2924e7902 go coverage combine 🎄🎆 1 year ago
ray-x a4dd40d8f8 partial covered test 🎄🎆 1 year ago
ray-x b53dfd4fdb dap options for time out issue #263 🎄🎆 1 year ago
rayx 0f72dbdd87
Fix unit test errors 🎄🎆 (#265)
* test pipeline

* update unit tests
1 year ago
ray-x 17adc5c600 [feature] go coverage partially tested, skip covered 🎄🎆 1 year ago
ray-x 02fbdd126c issue #264 coverage line num mismatch 🎄🎆 1 year ago
ray-x 9f0d92ab2d coverage args update -t 🎄 1 year ago