fixed blink breaking changes
This commit is contained in:
@ -79,9 +79,10 @@ return {
|
||||
-- default list of enabled providers defined so that you can extend it
|
||||
-- elsewhere in your config, without redefining it, via `opts_extend`
|
||||
sources = {
|
||||
default = { 'copilot', 'lazydev', 'lsp', 'path', 'luasnip', 'buffer', 'codeium' },
|
||||
default = { 'copilot', 'lazydev', 'lsp', 'path', 'snippets', 'buffer', 'codeium' },
|
||||
-- optionally disable cmdline completions
|
||||
-- cmdline = {},
|
||||
|
||||
cmdline = function()
|
||||
local type = vim.fn.getcmdtype()
|
||||
-- Search forward and backward
|
||||
@ -147,14 +148,7 @@ return {
|
||||
-- experimental signature help support
|
||||
signature = { enabled = true },
|
||||
snippets = {
|
||||
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,
|
||||
preset = 'luasnip'
|
||||
},
|
||||
},
|
||||
-- allows extending the providers array elsewhere in your config
|
||||
|
Reference in New Issue
Block a user