ray-x
607ed738e5
improve treesitter query
2022-07-09 15:54:43 +10:00
ray-x
d1384cf2c0
revert changes break github actions
2022-07-08 22:02:58 +10:00
Steffen Siering
300fffc87d
Fix: GoCoverage ( #164 )
...
Co-authored-by: urso <steffen.siering at gmail>
2022-07-08 21:59:25 +10:00
Benedikt Müller
1b5b77feb8
fix lsp_on_client_start option ( #163 )
2022-07-08 20:44:19 +10:00
ray-x
a4026941d0
issue #161 allow project setup to be disabled
2022-07-08 20:30:23 +10:00
ray-x
1315ed89ad
add tests for asyncmake
2022-07-08 08:30:46 +10:00
ray-x
ab8a075aa4
add efm only mode for testing when floating term is off
2022-07-08 02:34:50 +10:00
ray-x
fcc473b1ec
GoImpl autocomplete from treesitter symbols
2022-07-08 01:27:30 +10:00
ray-x
9ad2568465
better key unmap, allow recover the keymap to user defined key
2022-07-07 23:46:36 +10:00
ray-x
29a23a31e3
issue #153 -count=x
2022-07-07 21:23:18 +10:00
ray-x
300836a9cb
go impl: allow omit interface and use treesitter to find a interface name and package name
2022-07-07 03:57:26 +10:00
ray-x
31624e1365
treesitter node for struct and type
2022-07-07 03:12:24 +10:00
ray-x
eaec8c45f2
revert changes to golden file
2022-07-06 15:28:15 +10:00
ray-x
8021f2a484
fix test automation
2022-07-06 15:06:16 +10:00
ray-x
c588f2bf4a
tests updates
2022-07-06 14:30:13 +10:00
ray-x
7102361efd
test spec
2022-07-06 14:12:01 +10:00
ray-x
6108dc9ea1
bugfix test failure
2022-07-06 13:21:02 +10:00
ray-x
a15427f902
mockgen from source
2022-07-06 09:29:44 +10:00
ray-x
e84d3ab545
improve #155 allow GoImpl fallback if struct type def not found
2022-07-06 08:58:17 +10:00
ray-x
484524b875
do not use golines as goimport default formater, #157
2022-07-06 08:29:59 +10:00
ray-x
a86e9d2a29
Feature: add go mock / mockgen
2022-07-06 08:28:29 +10:00
rayx
2371bf414b
[Breaking] change keymap api ( #152 )
...
the keymap api used in version no longer support neovim 0.6.x. Please use nvim-0.6 branch if you do not want to update to neovim 0.7, BTW, if you do not use go.nvim for debugging, it should not affect you.
2022-07-04 12:13:46 +10:00
ray-x
a2d0bbee53
bugfix #153 , update doc
2022-07-03 09:11:26 +10:00
Aleš Brelih
edda37cb5e
Cmd is tranformed to string before pushed to term ( #151 )
...
* Cmd is tranformed to string before pushed to term
Float terminal command is tranformed to string using table.concat before
used. This allow us to use neovim buff option to unite quoting.
* Update term.lua
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
2022-07-02 12:33:20 +10:00
ray-x
84ac01df53
Feature: show keybindings for debug session
2022-07-01 20:30:43 +10:00
ray-x
981adf9b39
Features:
...
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
2022-07-01 19:15:31 +10:00
David Brouwer
ee39b539b9
fix(dap): don't close empty stdout stderr handle ( #149 )
...
Add nil check to closure of stdout stderr handle
2022-07-01 19:06:02 +10:00
David Brouwer
6e7410452f
Fix empty string and GoRun -F main module ( #147 )
...
* fix: append check if val is nil
Add check to see if value is empty. And don't add to path if already in
path.
Signed-off-by: Davincible <david.brouwer.99@gmail.com>
* feat: auto run main module in floating term
Add check to see if floating term, to auto run main file
Signed-off-by: Davincible <david.brouwer.99@gmail.com>
* Update asyncmake.lua
no need to show a notification as there is another one once the program is finished.
Co-authored-by: rayx <rayx.cn@gmail.com>
2022-07-01 08:26:14 +10:00
Lukas
10264d6904
fix(setup): getenv vim.NIL check ( #148 )
...
* fix(setup): handle gobin env nil
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
* fix(setup): use vim.NIL
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
* return if GOBIN not present
Co-authored-by: rayx <rayx.cn@gmail.com>
2022-07-01 08:14:38 +10:00
ray-x
36a33ad5b0
#146 better fallback if test runner is non-default and not installed
2022-07-01 02:44:39 +10:00
ray-x
c9ba685250
should call dapui.setup only once, #145
...
check dapui is_open
2022-06-30 15:44:54 +10:00
ray-x
eae9af9c1d
recommit fix for #145 due to merge failure
2022-06-30 12:41:20 +10:00
ray-x
65bd2685b4
fix test cases
2022-06-30 02:15:44 +10:00
ray-x
5873520c34
#143 exact function mane match
2022-06-29 15:01:17 +10:00
rayx
a7edcfac84
Fix pipeline for neovim 0.6.1 ( #142 )
...
* updates delays
* repeat actions
* fix golden file
* fix neovim 0.6.x
* fillstruct updates for 0.6.x
* remove treesitter dependency for fillstruct test
2022-06-29 10:16:14 +10:00
ray-x
93db33751c
fillstruct with gopls
2022-06-29 09:33:53 +10:00
ray-x
331e14d728
pipeline updates as treesitter-master no-longer supports nvim 0.6.1. First github 500 stars
2022-06-29 09:28:59 +10:00
ray-x
4bc6b563ce
go treesitter locals.scm add go_impl_spec
2022-06-29 00:37:20 +10:00
ray-x
28b553aa52
handle nil output with runner
2022-06-28 15:35:05 +10:00
ray-x
3f8551cc11
issue #141 the result of shell command should be checked before proccess
...
the output
2022-06-28 14:36:30 +10:00
rayx
5504f55b4f
[Feature]Package info side panel ( #140 )
...
New feature.
It shows all public symbols inside a go package with a side panel.
Also refer https://github.com/golang/go/issues/37237 for some workaround
* add side_panel for go package
* Add command GoPkgInfo
* multi lines hint
* allow refresh when buffer write happed
* remove node of receiver
* update treesitter queries for better panel display
* variadic args
2022-06-27 08:12:49 +10:00
ray-x
16c37da2f8
go coverage: toggle the coverage indicator after metric is shown
2022-06-22 13:57:27 +10:00
ray-x
d3d278d58a
doc update
2022-06-22 13:53:26 +10:00
ray-x
fb4f37a328
allow show coverage summary with 'go tool cover -func' in qf
2022-06-22 13:33:30 +10:00
ray-x
7045635404
bugfix for fish terminal
2022-06-21 19:04:30 +10:00
ray-x
7945c74580
breaking changes dapui #137
2022-06-21 12:54:26 +10:00
ray-x
be47f4fb6c
errorformat/efm
2022-06-18 18:37:42 +10:00
ray-x
410808938e
lint
2022-06-18 18:31:37 +10:00
ray-x
296fc66941
typo
2022-06-18 15:43:51 +10:00
ray-x
755e5816f0
guru support
2022-06-18 15:43:07 +10:00