automatic autocomplete is more easy
This commit is contained in:
parent
960b17326c
commit
7b8cd338db
1 changed files with 6 additions and 4 deletions
|
@ -68,9 +68,11 @@ cmp.setup({
|
|||
-- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users.
|
||||
end,
|
||||
},
|
||||
completion = {
|
||||
autocomplete = false,
|
||||
},
|
||||
|
||||
-- completion = {
|
||||
-- autocomplete = false,
|
||||
-- },
|
||||
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
|
@ -119,8 +121,8 @@ cmp.setup({
|
|||
{ name = 'luasnip' }, -- For luasnip users.
|
||||
-- { name = 'ultisnips' }, -- For ultisnips users.
|
||||
-- { name = 'snippy' }, -- For snippy users.
|
||||
}, {
|
||||
{ name = 'buffer' },
|
||||
}, {
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue