add: luasnip

This commit is contained in:
2025-05-23 10:59:40 +02:00
parent ad10607c1f
commit 9d9d954d77
+3 -1
View File
@@ -1,7 +1,7 @@
return { return {
"saghen/blink.cmp", "saghen/blink.cmp",
-- optional: provides snippets for the snippet source -- optional: provides snippets for the snippet source
dependencies = { "rafamadriz/friendly-snippets" }, dependencies = { "L3MON4D3/LuaSnip" },
-- use a release tag to download pre-built binaries -- use a release tag to download pre-built binaries
version = "1.*", version = "1.*",
@@ -36,6 +36,8 @@ return {
-- (Default) Only show the documentation popup when manually triggered -- (Default) Only show the documentation popup when manually triggered
completion = { documentation = { auto_show = false } }, completion = { documentation = { auto_show = false } },
snippets = { preset = "luasnip" },
-- Default list of enabled providers defined so that you can extend it -- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend` -- elsewhere in your config, without redefining it, due to `opts_extend`
sources = { sources = {