reformat cmp sources
This commit is contained in:
parent
0e55059a63
commit
fd32c079c9
1 changed files with 9 additions and 6 deletions
|
@ -78,12 +78,15 @@ cmp.setup({
|
|||
-- Set `select` to `false` to only confirm explicitly selected items.
|
||||
['<CR>'] = cmp.mapping.confirm({ select = false }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
sources = cmp.config.sources(
|
||||
{
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
}, {
|
||||
},
|
||||
{
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
-- Set configuration for specific filetype.
|
||||
|
|
Loading…
Reference in a new issue