From 377d139fff4a6c781b46a6a375bc7a19506ff560 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 13 Jan 2025 18:19:56 -0800 Subject: [PATCH] fix: Fix blink.cmp after update --- nvim/lua/plugins/coding/blink-cmp.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nvim/lua/plugins/coding/blink-cmp.lua b/nvim/lua/plugins/coding/blink-cmp.lua index 6075572..c34e384 100644 --- a/nvim/lua/plugins/coding/blink-cmp.lua +++ b/nvim/lua/plugins/coding/blink-cmp.lua @@ -47,11 +47,12 @@ return { enabled = false, }, list = { - selection = 'manual', + selection = { preselect = true, auto_insert = false }, }, }, snippets = { + preset = 'luasnip', expand = function(snippet) require('luasnip').lsp_expand(snippet) end, @@ -70,7 +71,7 @@ return { }, sources = { - default = { 'lsp', 'path', 'snippets', 'buffer', 'luasnip' }, + default = { 'lsp', 'path', 'snippets', 'buffer' }, }, keymap = {