when using nvim with honza/vim-snippets installed, this snippet
snippet io-til "io-til"
`#!/bin/bash
echo hello world
`
causes this error
E5108: Error executing lua ...pack/packer/start/LuaSnip/lua/luasnip/util/functions.lua:39: nvim_exec2(): Vim(echo):E121: Undefined variable: #
stack traceback:
[C]: in function 'nvim_exec'
...pack/packer/start/LuaSnip/lua/luasnip/util/functions.lua:39: in function 'fn'
...k/packer/start/LuaSnip/lua/luasnip/nodes/dynamicNode.lua:148: in function 'update'
.../pack/packer/start/LuaSnip/lua/luasnip/nodes/snippet.lua:849: in function 'update'
.../pack/packer/start/LuaSnip/lua/luasnip/nodes/snippet.lua:616: in function 'trigger_expand'
...nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua:244: in function 'snip_expand'
...e/pack/packer/start/cmp_luasnip/lua/cmp_luasnip/init.lua:143: in function 'execute'
.../nvim/site/pack/packer/start/nvim-cmp/lua/cmp/source.lua:404: in function 'execute'
...e/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/entry.lua:485: in function 'execute'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:503: in function <...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:502>
...te/pack/packer/start/nvim-cmp/lua/cmp/utils/feedkeys.lua:47: in function <...te/pack/packer/start/nvim-cmp/lua/cmp/utils/feedkeys.lua:45>
is there anybody with an idea?
do i have to set something up in nvim?
Hello! If you're having issues with custom snippets I'm afraid we cannot help. You may want to open an issue with the snippet engine plugin you are using.
when using nvim with honza/vim-snippets installed, this snippet
causes this error
is there anybody with an idea? do i have to set something up in nvim?