Commit Graph

612 Commits

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

* update unit tests
2022-12-28 15:03:29 +11:00
ray-x
17adc5c600 [feature] go coverage partially tested, skip covered 🎄🎆 2022-12-28 11:46:31 +11:00
ray-x
02fbdd126c issue #264 coverage line num mismatch 🎄🎆 2022-12-28 10:31:23 +11:00
ray-x
9f0d92ab2d coverage args update -t 🎄 2022-12-25 15:33:36 +11:00
ray-x
2d05643e91 coverage args update 🎄 2022-12-25 15:20:09 +11:00
ray-x
5cefc346e7 luacheck lint, deprecate nvim-0.5 support 🏆🇦🇷 👋🇫🇷 2022-12-20 22:00:06 +11:00
ray-x
a6e01901d2 🇫🇷 🇲🇦 😍 2022-12-15 07:11:08 +11:00
ray-x
5e980b00c7 add new command: govulncheck 🇦🇷 a🇭🇷 2022-12-14 08:39:09 +11:00
ray-x
12d262b99d update gotestsum info in readme and vim doc 🎄 2022-12-13 11:20:48 +11:00
ray-x
a99aa80a17 update unit tests 🇦🇷 a🇭🇷 2022-12-13 01:56:45 +11:00
ray-x
c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 2022-12-06 02:08:45 +11:00
ray-x
4529240971 feature: animation on build/compile/run/test 2022-11-29 13:53:33 +11:00
ray-x
7d5c09b9c4 lint 2022-11-29 01:29:45 +11:00
Sidney Wijngaarde
8550253c66
fix: tags add comparison typo (#247) 2022-11-29 01:14:09 +11:00
ray-x
02943e5316 gomodifytags options 2022-11-27 17:48:43 +11:00
Shaw Vrana
4599360f5d
Add ability to set gomodifytag options in config (#246) 2022-11-27 17:33:53 +11:00
ray-x
b4aaf5bf77 lint 2022-11-25 13:16:51 +11:00
ray-x
c6b3c061cd bugfix -p nil check #241 2022-11-24 09:54:52 +11:00
ray-x
df1f43ef55 empty check 2022-11-24 03:17:19 +11:00
ray-x
083965ad6d update package.lua logs 2022-11-24 03:11:00 +11:00
ray-x
ca2463975e better error messages when pkg does not present 2022-11-23 13:42:26 +11:00
ray-x
93e0cc6628 better error for GoPkgOutline 2022-11-23 13:34:51 +11:00
ray-x
cffe9f6899 nil check #241 2022-11-23 13:24:52 +11:00
ray-x
aa854e3a47 issue #244 coverage -p warning message 2022-11-23 10:33:51 +11:00
ray-x
f68d072717 go get query 2022-11-23 09:31:15 +11:00
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
2022-11-23 09:16:23 +11:00
Manuel
997317e5ad
fix: fix used hl group name (#242) 2022-11-23 09:14:39 +11:00
xiantang
f23ca4e781
feat: support generate return for method (#234)
Run GoGenReturn
client.DeleteWithTimeout() -> *clientv3.DeleteResponse, err := client.DeleteWithTimeout()
2022-11-12 03:13:43 +11:00
ray-x
79c79c4872 autocmd for mod on_save 2022-11-03 12:54:24 +11:00
ray-x
fabe62defc gomod file reload 2022-11-03 12:53:45 +11:00
ray-x
825f20b036 updates for gopls 0.10.0 2022-11-01 10:54:24 +11:00
ray-x
6eea6a265d format format.lua 2022-10-27 11:39:09 +11:00