Skip to content
Discussion options

You must be logged in to vote

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).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@medwatt
Comment options

Answer selected by medwatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants