Feat: keyword_lenght for buffer and spell
This commit is contained in:
parent
f26fd07e96
commit
f24a4e8a47
@ -89,10 +89,17 @@ cmp.setup{
|
|||||||
sources = {
|
sources = {
|
||||||
{ name = 'vsnip' },
|
{ name = 'vsnip' },
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'buffer' },
|
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
-- { name = 'spell' },
|
{ name = 'buffer', keyword_length = 4 },
|
||||||
}
|
{ name = 'spell', keyword_length = 4 },
|
||||||
|
},
|
||||||
|
experimental = {
|
||||||
|
-- I like the new menu better! Nice work hrsh7th
|
||||||
|
native_menu = false,
|
||||||
|
|
||||||
|
-- Let's play with this for a day or two
|
||||||
|
ghost_text = true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.cmd [[autocmd FileType TelescopePrompt lua require('cmp').setup.buffer { enabled = false }]]
|
vim.cmd [[autocmd FileType TelescopePrompt lua require('cmp').setup.buffer { enabled = false }]]
|
||||||
|
Loading…
Reference in New Issue
Block a user