nvim: cmp setting to only enable buffer completion when the word is 5
chars long or more
This commit is contained in:
@ -21,9 +21,9 @@ cmp.setup({
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "path" },
|
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "buffer" },
|
{ name = "path" },
|
||||||
|
{ name = "buffer", keyword_length = 5 },
|
||||||
{ name = "vsnip" },
|
{ name = "vsnip" },
|
||||||
{ name = "orgmode" },
|
{ name = "orgmode" },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user