LuaSnip
LuaSnip copied to clipboard
Snippet Engine for Neovim written in Lua.
As the neovim-parser is 1. included in neovim (not really a plus, but not a negative, because we're not adding a dependency for the parser) 2. already supports `format`/`transform` (regex-stuff)...
Sounds a bit cryptic, the general idea is to allow stuff like ```lua -- this somewhere above: local override_fn = require("luasnip.extras.override_fn") local fmts = override_fn.fmt({delimiters = "[]"}) ``` This makes...
Currently we have `regTrig` and `not regTrig` (eg. a plain string), but since lua-patterns are quite limited it would be nice to support full regex via either the soon-to-be included...
For a while, I've been wanting to migrate from UltiSnips to LuaSnip. But, my snippets rely heavily on advanced python setup ([my snippets](https://github.com/SingularisArt/snippets) and its [dependencies](https://github.com/SingularisArt/snippet-dependencies)). I only really care...
Makes inserting into the snippet tables easier as there is no need to manually create tables along the way. TODOs: - [ ] Benchmark if this is worth it and...
Watch this issue to be notified of any breaking changes. thanks to @clason for recommending this
https://user-images.githubusercontent.com/97107165/185115434-43060269-861b-4164-8360-a455682467b4.mp4
Allows to specify `autotriggered` in the snippet options, and the snippet is added to the corresponding autosnippet tables. No need anymore to add snippets and autosnippets separately. TODO: - [...
[GIF of what happens](https://imgur.com/CESDk5w) Basic description is that after accepting an autocompletion luasnip, somehow pressing again `tab` in insert mode results in the caret jumping back to the autocompletion that...
Please pardon me if this feature already exists (for Lua parser). At the moment I only create snippets using `fmt()`, and it would be very time saving not having to...