Questions tagged [plugin-luasnip]

Snippet Engine for Neovim written in Lua

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

Attempt to index local tmp error for dynamic node (LuaSnip)

I am trying to create a snippet that changes based on the optional lua pattern input, but I am getting an error about a local tmp for the dynamic node. The desired outcome for typing $cup$ is $\cup$ ...
TrustinN's user avatar
0 votes
1 answer
458 views

How to set up LuaSnip in NeoVim w/LSP-Zero?

I'm trying to enable snippets in my auto-completion but they are only working for lua files and nothing else. I ve been messing around with nvim-cmp and luasnip itself and even downloaded friendly ...
Marcello Fitton's user avatar
0 votes
2 answers
790 views

Configuring VimTeX in NvChad config

I've been trying to configure vim-tex working on the NvChad configs. I got the :VimtexCompile working and giving me output pdf. But the usual <leader>ll is giving me these errors. Also in vim {{ ...
codehumor's user avatar
  • 101
0 votes
1 answer
308 views

Unable to install luasnip

After installing luasnip I encountered this error: Even though cmp is already installed Plugins.lua use({ "onsails/lspkind-nvim", event = "VimEnter" }) use({ "L3MON4D3/...
Rohith Nambiar's user avatar
4 votes
1 answer
830 views

Moving from Ultisnips to LuaSnip?

I recently decided to switch my init.vim to init.lua as I'm using Neovim and opted to use LuaSnip over UltiSnips - previously, CoC autocomplete and UltiSnips were clashing over the same tab triggers. ...
Revise's user avatar
  • 201
0 votes
1 answer
260 views

nvim: How do I insert a luasnip for BufNewFile "_skel"

I am using nvim-cmp and luasnips and I have a _skel snippet, I would like to create an autocmd to trigger this snippet for New Files: I already have some code: local status_ok, packer = pcall(require, ...
SergioAraujo's user avatar
  • 1,097