Prescott Murphy
82d796a01f
Handle literal "go" in path for GoAlt command ( #93 )
...
The original logic fails if you have go in your path, like: `/Code/mygoproject/myfile.go` because the split will have more than two elements.
2022-03-14 17:18:31 +11:00
ray-x
ed3dfb85b2
Breaking changes for GoDebug, deprecate old argument and using linux style command line arguments
2022-03-07 17:09:42 +11:00
ray-x
0fe0a9ee33
feature: auto jump to quickfix list item if test failed
2022-02-23 21:01:19 +11:00
ray-x
f355905c00
bqf friendly qickfix output for testing
2022-02-23 16:36:13 +11:00
ray-x
1bc6249495
feature: in quickfix, shows full path name instead of name only. That allows jump to the failed location
2022-02-23 16:28:21 +11:00
ray-x
4c66365aa2
Add GoModeTidy and GoModeVendor
2022-02-22 09:46:59 +11:00
ray-x
630a813360
remove tagSupport, it is not supported by gopls
2022-02-21 15:43:55 +11:00
ray-x
d8638ab9c8
issue#88 cmp setup. set it as default
2022-02-17 13:32:58 +11:00
Darkclainer
0ca3de9f84
Fix gotests integration ( #87 )
...
GoAddTest, GoAddExpTest and GoAddAllTest affected.
Previously they weren't work with templates (go_nvim_test_template
variable) because file paths should be last argument to gotests.
Also removed different handling of stdout/stderr because seems that
gotests doesn't use stderr or produce any exit code except zero (that
probably OK, but not useful for go.nvim).
Also fixed README.md: description of GoAddTest, GoAddExpTest and
GoAddAllTest and setup example (go.nvim doesn't default test_template to
testify)
2022-02-17 06:57:54 +11:00
ray-x
3e905d07ac
health check for treesitter-go parser issue#86
2022-02-16 22:11:36 +11:00
ray-x
c622c27bf8
doc updates
2022-02-16 21:25:21 +11:00
ray-x
c9359bb14d
Allow lsp diagnostic setup passed from outside
2022-02-15 20:30:42 +11:00
ray-x
d98d4e9eda
better error message for dlv; dlv attach mode
2022-02-14 15:59:31 +11:00
ray-x
f5c029e5fa
Update GoGet. if cursor current line is a valid pkg url, will auto fill it to go get argument
2022-02-09 15:33:19 +11:00
ray-x
edbd796ded
Add GoStop command to stop the background task started with GoRun
2022-02-02 17:37:07 +11:00
ray-x
2b059afc54
GoGet
2022-02-02 15:49:54 +11:00
ray-x
4e3b2b1971
bugfix #81
2022-01-31 21:40:40 +11:00
ray-x
f599a5e2cc
gopls cmd fallback
2022-01-31 17:28:53 +11:00
ray-x
ce29866640
lsp installer path setup for version check
2022-01-31 17:25:53 +11:00
ray-x
180e44ac07
handle nil
2022-01-30 16:02:18 +11:00
ray-x
a853613467
use -1
for random port
2022-01-30 15:57:56 +11:00
ray-x
ee3c36e25d
allow config debug port
2022-01-26 22:51:00 +11:00
ray.xu
4c54762e63
gopls vesion can be very slow, change to jobstart
2022-01-21 22:25:06 +11:00
ray.xu
f2b227d3e2
telescope codeaction loader
2022-01-21 11:20:40 +11:00
Craig Rodrigues
0f1740ed23
Fix URL for gotests for GoInstallBinaries ( #79 )
2022-01-20 12:36:48 +11:00
ray.xu
50a9fe57ec
textobject breaking changes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/169
2022-01-20 08:39:05 +11:00
ray.xu
2a2c5f4cd8
open qf only when on error
2022-01-20 03:27:03 +11:00
ray-x
532f7256b1
issue #71 , change warn/info/error to notify
2022-01-19 13:12:36 +11:00
ray-x
a47e0c0858
update sample
2022-01-19 08:44:01 +11:00
Aleš Brelih
3c44e3a998
fix: test file function ( #78 )
...
Test file function wasn't working anymore. It didn't find functions to
test even though the sed found them.
Problem was in the escaping the pipe sign.
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2022-01-19 08:41:11 +11:00
Aleš Brelih
d369ef454d
fix: test fun defaults ( #77 )
...
The default package parameter for TestFun is not needed because this
function is meant to target the current file only. Using the default
package parameter increased run time of time function drastically.
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2022-01-19 08:22:53 +11:00
ray-x
b1271d5e6a
issue #71 packer loader failed to load plugins
2022-01-19 08:14:02 +11:00
ray-x
99cc459eed
cleanup asyncmake
2022-01-17 17:48:16 +11:00
ray-x
a191de4920
issue #76 better qf
2022-01-17 17:33:00 +11:00
ray-x
cd395e96fb
setup option to disable gopls doc format
2022-01-17 15:29:38 +11:00
ray-x
22fe0379de
check dap module before disconnect dap
2022-01-17 10:31:24 +11:00
ray-x
cad485661b
offset encoding
2022-01-16 15:26:25 +11:00
ray-x
e5ebbd9460
Add GoTest -c option, compile test package issue#76
2022-01-16 13:08:16 +11:00
ray-x
e9e42ab175
toggle gc and codelens
2022-01-15 22:18:19 +11:00
ray-x
0d5f1c9f31
add health.lua
2022-01-15 22:14:56 +11:00
ray-x
daeaa15e6a
doc and launch.json update
2022-01-15 21:06:07 +11:00
ray-x
2869c5b8fc
Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json
2022-01-15 20:59:03 +11:00
ray-x
85f2300e72
issue #75 , better default package path for tests
2022-01-14 14:35:23 +11:00
ray-x
ff9a34bffb
issue #71 session and restart for the debugger
2022-01-13 09:07:14 +11:00
ray-x
ca1d46b4ab
prevent re-launch dap
2022-01-12 19:57:30 +11:00
Craig Rodrigues
817eb44890
Put options in same order in README.md, go.lua ( #74 )
2022-01-12 19:12:29 +11:00
ray-x
d2f5f9c683
Merge master
2022-01-12 16:02:40 +11:00
ray-x
37b9a66dc2
default debug/dlv keymap to true
2022-01-12 15:58:21 +11:00
ray-x
e232ed38e6
doc update for test_runner
2022-01-12 15:57:55 +11:00
ray-x
29960fe775
ANSI color remove for quickfix
2022-01-12 15:57:30 +11:00