Commit Graph

7 Commits

Author SHA1 Message Date
ray-x
f366151590 choice node 2022-08-23 19:41:26 +10:00
ray-x
28bcaa1f44 quick gen return #170 2022-08-23 19:31:13 +10:00
ray-x
3774ac0eba lint 2022-07-27 02:21:58 +10:00
ray-x
e5c7d643b1 gosnips return default, similar to fillreturns by gopls 2022-07-26 12:39:41 +10:00
ray-x
f0732425f9 more snips, e.g. uuid, random words/strings etc 2022-07-17 21:33:29 +10:00
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
2022-07-12 23:11:46 +10:00
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
2022-07-11 23:32:06 +10:00