Commit Graph

725 Commits (f5717d79a869aaab720bdcaa8c21900ce5b36bc9)

Author SHA1 Message Date
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
Shaw Vrana 4599360f5d
Add ability to set gomodifytag options in config (#246) 2 years ago
ray-x b4aaf5bf77 lint 2 years ago
ray-x c6b3c061cd bugfix -p nil check #241 2 years ago
ray-x df1f43ef55 empty check 2 years ago
ray-x 083965ad6d update package.lua logs 2 years ago
ray-x ca2463975e better error messages when pkg does not present 2 years ago
ray-x 93e0cc6628 better error for GoPkgOutline 2 years ago
ray-x cffe9f6899 nil check #241 2 years ago
ray-x aa854e3a47 issue #244 coverage -p warning message 2 years ago
ray-x f68d072717 go get query 2 years ago
Manuel c21ba12c1f
fix: wrong method scope (#243)
remove_all was defined as local but then referenced once as local and once as method in M
2 years ago
Manuel 997317e5ad
fix: fix used hl group name (#242) 2 years ago
xiantang f23ca4e781
feat: support generate return for method (#234)
Run GoGenReturn
client.DeleteWithTimeout() -> *clientv3.DeleteResponse, err := client.DeleteWithTimeout()
2 years ago
ray-x 79c79c4872 autocmd for mod on_save 2 years ago
ray-x fabe62defc gomod file reload 2 years ago
ray-x 825f20b036 updates for gopls 0.10.0 2 years ago
ray-x 6eea6a265d format format.lua 2 years ago
ray-x 32b4c162f0 gomvp support #176 2 years ago
ray-x a5b307c35c shada=NONE 2 years ago
ray-x fa0f15bb6b runner update for neovim-latest notify should not be called in loop-callback 2 years ago
Roy Choo 6602986054
fix(gotest): wrong order of test binary args (#230)
Co-authored-by: Roy Choo <roy.choo@bytedance.com>
2 years ago
ray-x 7720ddcbea gotestfunc -a option 2 years ago
ray-x e9d1c6c021 issue #229 extra args to go 2 years ago
ray-x 737223c999 add update_chunk for runner 2 years ago
Syncrack 1aef2d60bd
fix: use saved bufnr when retrieve inlay hints. (#226) 2 years ago
icefed 50050f7c8c
Fix commands GoModVendor & GoModInit (#219)
Signed-off-by: icefed <zlwangel@gmail.com>

Signed-off-by: icefed <zlwangel@gmail.com>
2 years ago
Syncrack a32e0c2f1b
ci: add one more empty line (#227) 2 years ago
ray-x d34868d2fa testrunner default 2 years ago
ray-x 25f844684b allow gotestsum in watch mode 2 years ago
ray-x 5b33d782f3 GoTestSum and sidepanel 2 years ago
ray-x b7f07ab887 feature: run gotestsum watch in background 2 years ago
Yajie Zhu e75d4ab725
fix: lsp restart logic (#222)
* fix: GoGet fail

* fix: lsp restart logic

Co-authored-by: zhuyajie <930664@qq.com>
2 years ago
Patrick Artounian 0e3a10f595
allow for user to toggle lsp_diag underline (#221)
Co-authored-by: Patrick Artounian <patrick.artounian@insomniac.com>
2 years ago
João Lucas Rafael 6ed7dc5fcd
Add an option for single package coverage. (#218) 2 years ago
Yajie Zhu d94f5df507
fix: GoGet fail (#217)
Co-authored-by: zhuyajie <930664@qq.com>
2 years ago
ray-x 9f3b04579b update debug messages 2 years ago
ray-x bb88a4929d lint 2 years ago
WDdxRW 4edd1c289e
fix test_func (#209)
* fix test_func

* fix test_func
2 years ago
ray-x 46052e6450 detect bench test for dap debug 2 years ago
ray-x 8e5866eb12 bench test with qucifix 2 years ago
ray-x 6ef00998e2 keymap for range code action 2 years ago
ray-x 7d22162f59 range code action 2 years ago
ray-x eee5a02a37 ginkgo nearest 2 years ago
ray-x f366151590 choice node 2 years ago
ray-x 28bcaa1f44 quick gen return #170 2 years ago
Justin Ginn 4f01936c00
Pass build tags when running tests with dlv (#201)
dlv does provide a flag for passing build tags, although it is diferent
than the build tag flag for the go command line utility. This commit
adds that syntax to pass flags to dlv as specified.

Co-authored-by: Justin Ginn <Justin.ginn@amd.com>
2 years ago
ray-x c75824b1f0 pipeline failure 2 years ago
Yajie Zhu f2e9666b50
remove duplicate code; Add LogPoint command (#200)
* fix: use strict test function name while debugging

* fix: use strict test function name while debugging

* Revert "fix: use strict test function name while debugging"

This reverts commit f47dd66c50.

* fix: GoPkgOutline, should reset pkg_info data before rerender

* remove duplicate code;
add GoLogPoint command

Co-authored-by: zhuyajie <930664@qq.com>
2 years ago
ray-x c7a56c8615 go build tags setup 2 years ago
Yajie Zhu 5ad5a53708
fix: GoPkgOutline, should reset pkg_info data before rerender (#198)
* fix: use strict test function name while debugging

* fix: use strict test function name while debugging

* Revert "fix: use strict test function name while debugging"

This reverts commit f47dd66c50.

* fix: GoPkgOutline, should reset pkg_info data before rerender

Co-authored-by: zhuyajie <930664@qq.com>
2 years ago
Yajie Zhu 6c793a1c6f
fix: use strict test function name while debugging (#197)
* fix: use strict test function name while debugging

* fix: use strict test function name while debugging

* Revert "fix: use strict test function name while debugging"

This reverts commit f47dd66c50.

Co-authored-by: zhuyajie <930664@qq.com>
2 years ago
ray-x 943cf236d0 goget #194 2 years ago
ray-x 2a48166beb mockgen 2 years ago
ray-x c3dd9e3ee8 smart build tags 2 years ago
ray-x ca7cb5fe34 lint 2 years ago
ray-x ce73ef43f0 cleanup ts logs; utils get build tags renaming 2 years ago
ray-x ddbb30a38e remove log messages 2 years ago
ray-x c94c488307 automatically add build tags to gopls. handle "// go:build tagxxx" 2 years ago
ray-x 160897a93f test failure 2 years ago
ray-x feaef378b7 testcase update 2 years ago
ray-x d5e5a65c03 moving from vim script to lua scripts (autocmd, highlight) 2 years ago
ray-x 2930eb9f17 spelling, default sign highlight 2 years ago
ray-x 7fea49e79f rename from gocoverage_sign_priority to sign_priority 2 years ago
ray-x 4c1ee0ddeb update default priority of sign 2 years ago
ray-x 9ea9ee2c4b issue #192 coverage sign priority 2 years ago
ray-x 3f2e7f49bd json to go struct 2 years ago
ray-x 5516cf7fff issue #190 check line range before get_params 2 years ago
ray-x 524b65f85a bugfix: some user commands failed because incorrect setup of lua api 2 years ago
mateusz e401dd9f31
fix wrongly documented default value (lsp_gofumpt) (#188)
* fix wrongly documented default value

* Revert "fix wrongly documented default value"

This reverts commit 63c537dc50.

* fix default lsp_gofumpt
2 years ago
ray-x 74d65542d4 issue #189 format warning message 2 years ago
ray-x f4d8a0b691 allow dap to be lazyload 2 years ago
ray-x b7d6288bbd use neovim 0.7 API to create commands. this is a breaking change for anyone using neovim 0.6.x 2 years ago
ray-x c1db235792 issue #186 2 years ago
ray-x 4e44e251db update notify message when format is missing 2 years ago
ray-x bedc73166a #187 vim.lsp.buf.format missing in some version of neovim 2 years ago
ray-x 06c27c1cf5 missing end 2 years ago
mateusz 002e199562
synchronous goimports (#186)
* fix save formatting

* fix vim.lsp.buf.format polyfill

* reformat and default values

* remove extra end

Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x a9b669772f check if gopls is running before send codelens request 2 years ago
ray-x 5c2c14a5f6 lint 2 years ago
ray-x b647bd1ae9 issue #183 codelens refresh in on_attach 2 years ago
ray-x 1ca53c0a00 refresh codelens in on_attach 2 years ago
ray-x 8fb06f43a2 cache the client info results for inlay 2 years ago
ray-x db47b70d21 startup delay because the BufEnter autocommands 2 years ago
ray-x 93c724d6b0 issue #184 trouble 2 years ago
ray-x 7aed764507 allow more trigger events for codelens 2 years ago
ray-x 144eb6fb2a issue #182 setup merge 2 years ago
ray-x 72bff85508 issue #181 merge gopls setup 2 years ago
ray-x a816cdb5e7 windows extensions 2 years ago
ray-x 7c62c7c27a add windows exe extension #179 2 years ago
Tai Groot f378f7ffa2
remove leading space on hint args (#180) 2 years ago
ray-x 3bdd56b1c0 issue #179 windows 11 2 years ago
ray-x 3774ac0eba lint 2 years ago
ray-x 5b70d93603 lint 2 years ago
ray-x e5c7d643b1 gosnips return default, similar to fillreturns by gopls 2 years ago
ray-x f334b05d0c issue #173 minimal defaults 2 years ago
ray-x 7342608bd6 issue #175 hover 2 years ago
ray-x c8d02a9d6a inlay hints #172 2 years ago
ray-x f0732425f9 more snips, e.g. uuid, random words/strings etc 2 years ago
ray-x deccb2c6c3 GoMockGen cmd fix 2 years ago
liangkai dffe933fd1
replace utils.notify by utils.warn (#168) 2 years ago
rayx 0e8cc90e30
Bugfix #160 (#167)
* snips

* update ts node spec format

* luasnip up and running

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test

* for snips

* update treesitter query and api

* refact get_xxx_at_cursor

* update test spec

* update row to vim range

* update col number

* remove comments

* merge conflicts
2 years ago
rayx 104b832ee4
Luasnip (#165)
First commit for luasnip
Most of the snip code is from this repo shark
and TJ's neovim setup config_manager
and ziontee113

* add luasnip for go

* move command out to a dedicated function

* update ts node spec format

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test
2 years ago
ZHL bc25de4d85
upgrade ginkgo version to v2 (#166)
It might be a breaking change for those using ginkgo v1
2 years ago
ray-x c7fa2fe5fc tuning treesitter type def 2 years ago