Set keyword_length to 0 for nvim-cmp

This commit is contained in:
2023-10-19 12:13:46 +02:00
parent 1ffd21e320
commit 3d7d32962c
+1 -1
View File
@@ -49,7 +49,7 @@ local function setup()
end end
end, end,
preselect = cmp.PreselectMode.None, preselect = cmp.PreselectMode.None,
completion = { keyword_length = 3, }, completion = { keyword_length = 0, },
snippet = { snippet = {
expand = function (args) expand = function (args)
luasnip.lsp_expand(args.body) luasnip.lsp_expand(args.body)