update blink cmp

This commit is contained in:
2025-04-12 11:08:09 +03:00
parent a2c7c46185
commit 350beee4f1
2 changed files with 11 additions and 20 deletions

View File

@@ -6,19 +6,11 @@ return {
{ 'L3MON4D3/LuaSnip', version = 'v2.*' }
},
-- use a release tag to download pre-built binaries
version = 'v0.*',
version = 'v1.0.*',
opts = {
snippets = {
preset = 'luasnip',
expand = function(snippet) require('luasnip').lsp_expand(snippet) end,
active = function(filter)
if filter and filter.direction then
return require('luasnip').jumpable(filter.direction)
end
return require('luasnip').in_snippet()
end,
jump = function(direction) require('luasnip').jump(direction) end,
},
completion = { list = { selection = { preselect = false, auto_insert = true } } },