LuaSnip
LuaSnip copied to clipboard
Snippet Engine for Neovim written in Lua.
Currently, there are a few issues with recording and replaying a snippet-expansion via a macro: * autosnippets are not expanded at all (#1243) This is because we use a TextChangedI-hook...
# How to Reproduce - Start recording a macro (e.g., `qa`) - Write an auto-snippet trigger - Stop recording and play back the macro (e.g., `@a`) **Expected behavior**: The snippet...
I created two versions of console.log snippets, since they are compatible across multiple languages I tried combining them into a single file. However doesn't seem to get loaded. Snippet only...
Similar issue as https://github.com/L3MON4D3/LuaSnip/issues/239 These errors have been happning frequently for me - any recommendation for settings to update? Does it happen because ```bash ....local/share/nvim/lazy/LuaSnip/lua/luasnip/util/mark.lua:136: Invalid 'col': out of range...
I am using `luasnip` with `nvim-autopairs` and I would like to be able to expand `(*)` to `\left ( * \right )` where the `*` represents where my cursor position...
Hello everyone, I am a newcomer who has just started working with luasnip. I would like to use luasnip to complete the following functions This is an open request address,...
Is there any way to apply conditions to snip mate snippets? I.e. is there a way to do the following but as a snip-mate snippet? ``` s({ trig = "@a",...
Hello! Not a bug but more of a question :) I'm struggling to make a snippet show up in completions only when at the top level of a file (so...
I am currently at commit `7552e65` and when running this code, the snippet does not expand. This happens for both LSP snippets and custom snippets. Configuration file: ```lua local cmp...
>All snippets are provided in the vscode format The following snippet makes the last node of the snippet where the `$0` is. ```lua ${1:var} = $0; ``` The following do...