LuaSnip icon indicating copy to clipboard operation
LuaSnip copied to clipboard

Snippet Engine for Neovim written in Lua.

Results 154 LuaSnip issues
Sort by recently updated
recently updated
newest added

Running `:lua require("luasnip.loaders.from_vscode").load({ paths = { "~/.config/snippets" } })` No longer works. This snippet directory has always worked, and previously I had adjusted the runtime path to include it, but...

Would you consider adding adding a ext_opt table for nodes which are unvisited? There does not seem to be a way to specify the application of a highlight group to...

As proposed in #410. For now the inheritance is (with arrows `to` _gets-and-extends-ext_opts-from_ `from`) ```mermaid flowchart TD passive --> active passive --> visited passive --> unvisited snippet_passive --> passive ```...

In regex, i can use \w{1,4} to search for any word characcter with length of 1-4. I want to use this functionality in LuaSnip, but it seems the {1,4} part...

Hi, this Feature Request comes from the issue with Lua's Regex: It doesn't have the `or |` pattern. If we want to have multiple triggers for the same snippet, we...

I think it might be better to let the API documentation live inside the code, and it also benefits from LSP capabilities ![image](https://user-images.githubusercontent.com/59826753/162563836-e2e6c6d1-b3d0-48c9-bb1e-6263698cfdd8.png) --- **TODO** - [ ] I've only...

(as discussed #luasnip:matrix.org) I found myself with nonworking choiceNodes - the behaviour was rather strange, my snippet got stuck inbetween jumping into a choiceNode. Take this snippet (which expands to...

Expanding this VSCode snippet: ```json "set": { "prefix": "set", "description": "set", "body": "${0|a,b,c|}" } ``` causes the following error: ``` E5108: Error executing lua ...ck/packer/start/LuaSnip/lua/luasnip/nodes/choiceNode.lua:95: attempt to get length of...

Expansion of rust-analyzer provided snippets like _~pd_ or _~ppd_ which is just a `eprintln!("$0 = {:#?}", $0);` gives me this errors: "E5108: Error executing lua ...site/pack/packer/start/LuaSnip/lua/luasnip/util/util.lua:62: bad argument #1 to...

Hey @L3MON4D3 , hope you're doing well. Just figured I'd let you know I made a fun YouTube video (part 1 of 3) for this plugin. I hope it makes...