Commit Graph

441 Commits (3774ac0eba34db6b4dbe9ac07fbd1533ee1cb3c1)
 

Author SHA1 Message Date
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 3d41a501da inlay hints doc 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
Mihail Stoykov c655da712e
Fix tags in go.txt (#169) 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
ray-x e43eaf43b7 go-dap keymap desc 2 years ago
ray-x 607ed738e5 improve treesitter query 2 years ago
ray-x d1384cf2c0 revert changes break github actions 2 years ago
Steffen Siering 300fffc87d
Fix: GoCoverage (#164)
Co-authored-by: urso <steffen.siering at gmail>
2 years ago
Benedikt Müller 1b5b77feb8
fix lsp_on_client_start option (#163) 2 years ago
ray-x a4026941d0 issue #161 allow project setup to be disabled 2 years ago
ray-x 1315ed89ad add tests for asyncmake 2 years ago
ray-x ab8a075aa4 add efm only mode for testing when floating term is off 2 years ago
ray-x fcc473b1ec GoImpl autocomplete from treesitter symbols 2 years ago
ray-x 9ad2568465 better key unmap, allow recover the keymap to user defined key 2 years ago
ray-x 29a23a31e3 issue #153 -count=x 2 years ago
ray-x 300836a9cb go impl: allow omit interface and use treesitter to find a interface name and package name 2 years ago
ray-x 31624e1365 treesitter node for struct and type 2 years ago
ray-x eaec8c45f2 revert changes to golden file 2 years ago
ray-x 8021f2a484 fix test automation 2 years ago
ray-x c588f2bf4a tests updates 2 years ago
ray-x 7102361efd test spec 2 years ago
ray-x 6108dc9ea1 bugfix test failure 2 years ago
ray-x a15427f902 mockgen from source 2 years ago
ray-x e84d3ab545 improve #155 allow GoImpl fallback if struct type def not found 2 years ago
ray-x 484524b875 do not use golines as goimport default formater, #157 2 years ago
ray-x a86e9d2a29 Feature: add go mock / mockgen 2 years ago
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.
2 years ago
ray-x a2d0bbee53 bugfix #153, update doc 2 years ago
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>
2 years ago
ray-x 84ac01df53 Feature: show keybindings for debug session 2 years ago
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
2 years ago
David Brouwer ee39b539b9
fix(dap): don't close empty stdout stderr handle (#149)
Add nil check to closure of stdout stderr handle
2 years ago
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>
2 years ago
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>
2 years ago
ray-x 36a33ad5b0 #146 better fallback if test runner is non-default and not installed 2 years ago
ray-x c9ba685250 should call dapui.setup only once, #145
check dapui is_open
2 years ago
ray-x eae9af9c1d recommit fix for #145 due to merge failure 2 years ago
ray-x 1fd353947b issue #145 GoDebug failure 2 years ago
Nikola Milovic d402d9cbf9
fix(docs): fix command typo and duplicate (#144)
* fix(docs): remove duplicate command from debug table

In the Debug section Command table `GoBreakToggle` was mentioned twice, I just removed the duplicate

* fix(docs): fix the BreakCondition command and formatting on some markdown tables

* indentation

Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago