fix(blink): disable snippets
This commit is contained in:
@@ -71,13 +71,17 @@ return {
|
||||
show_documentation = false,
|
||||
},
|
||||
},
|
||||
-- Default list of enabled providers defined so that you can extend it
|
||||
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||
sources = {
|
||||
default = {
|
||||
"lsp",
|
||||
"path",
|
||||
},
|
||||
transform_items = function(_, items)
|
||||
return vim.tbl_filter(function(item)
|
||||
return item.kind
|
||||
~= require("blink.cmp.types").CompletionItemKind.Snippet
|
||||
end, items)
|
||||
end,
|
||||
},
|
||||
keymap = {
|
||||
preset = "none",
|
||||
@@ -89,5 +93,4 @@ return {
|
||||
["<C-p>"] = { "snippet_backward", "fallback" },
|
||||
},
|
||||
},
|
||||
opts_extend = { "sources.default" },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user