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