feat: make luasnip handle injected languages

This commit is contained in:
Moritz Böhme 2024-08-18 15:17:43 +02:00
parent fc4dcbeeec
commit f08c343ddf
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -19,6 +19,7 @@ ls.setup({
},
},
},
ft_func = require("luasnip.extras.filetype_functions").from_pos_or_filetype,
})
require("luasnip.loaders.from_lua").load({ paths = "~/.config/nvim/snippets" })