Commit Graph

35 Commits (737223c999be2679241c69db09bf28b9f97ae398)

Author SHA1 Message Date
ray-x 28bcaa1f44 quick gen return #170 2 years ago
ray-x ce73ef43f0 cleanup ts logs; utils get build tags renaming 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
ray-x c7fa2fe5fc tuning treesitter type def 2 years ago
ray-x 607ed738e5 improve treesitter query 2 years ago
ray-x d1384cf2c0 revert changes break github actions 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 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 8021f2a484 fix test automation 2 years ago
ray-x e84d3ab545 improve #155 allow GoImpl fallback if struct type def not found 2 years ago
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
2 years ago
ray-x 099790c988 go lint 2 years ago
ray-x ad84a0806c update GoTest adding more flags 2 years ago
ray-x 86720cae95 update ts keybindings 2 years ago
ray-x 5d53132e52 updates for 0.5.1 2 years ago
ray-x 72e8a82ebd neovim 0.5.x treesitter 2 years ago
ray-x 9b9744a341 bug fix for neovim 0.6.1 2 years ago
ray-x 7320a536d7 update ts nodes 2 years ago
ray-x b71f814e20 update lint 2 years ago
ray-x df512d695f issue #94 GoImport autocomplete 2 years ago
ray.xu 50a9fe57ec textobject breaking changes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/169 2 years ago
Craig Rodrigues 483b56f4a2
Replace print() with vim.notify() (#64) 3 years ago
ray-x 1aab3bcea0 add go.txt 3 years ago
ray-x 6574dd2e6b add textobject default setup, doc updates 3 years ago
ray-x f59422008a Add warn messages 3 years ago
ray-x 54dea272d1 #31 expose bufnr to ts APIs 3 years ago
ray-x 401e08e2b4 improve error message 3 years ago
ray-x a093d2420b cursor range col/row calculate 3 years ago
ray-x 7b285a3600 Add gorename 3 years ago
ray-x abbc421aee update treesitter syntax 3 years ago
ray-x f6561e7807 update treesitter syntax 3 years ago
ray-x 1e190d6a0e init commit 3 years ago