upddate cmp settings
This commit is contained in:
parent
c1e87b0b1a
commit
becce26683
|
@ -14,7 +14,8 @@ cmp.setup({
|
|||
end,
|
||||
},
|
||||
completion = {
|
||||
keyword_length = 4,
|
||||
keyword_length = 1,
|
||||
max_item_count = 20,
|
||||
-- autocomplete = false
|
||||
},
|
||||
snippet = {
|
||||
|
@ -34,10 +35,12 @@ cmp.setup({
|
|||
{
|
||||
name = 'nvim_lsp',
|
||||
max_item_count = 8,
|
||||
keyword_length = 3,
|
||||
},
|
||||
{ name = 'path' },
|
||||
{
|
||||
name = 'buffer',
|
||||
keyword_length = 4,
|
||||
max_item_count = 20,
|
||||
},
|
||||
{
|
||||
|
@ -48,7 +51,7 @@ cmp.setup({
|
|||
{
|
||||
name = 'ultisnips',
|
||||
priority_weight = 10,
|
||||
keyword_length = 2,
|
||||
keyword_length = 1,
|
||||
},
|
||||
...
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue