feat: make luasnip handle injected languages

nixos
Moritz Böhme 2024-08-18 15:17:43 +02:00
parent fc4dcbeeec
commit f08c343ddf
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 0 deletions

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" }) require("luasnip.loaders.from_lua").load({ paths = "~/.config/nvim/snippets" })