-
Let's say I have a generic snippet defined as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Would making snippets local to some project work? You can call |
Beta Was this translation helpful? Give feedback.
Would making snippets local to some project work? You can call
require("luasnip.loaders.from_lua").load({paths = {vim.fn.getcwd() .. "/.luasnippets/"}})
to load from a.luasnippets
-directory in the current project (well, requires you to start nvim from the root-dir of that project, but for me at least that's always the case).