reformat cmp sources

This commit is contained in:
Vladan Popovic 2024-06-10 15:36:36 +02:00
parent 0e55059a63
commit fd32c079c9

View file

@ -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({
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
}, {
{ name = 'buffer' },
})
sources = cmp.config.sources(
{
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
},
{
{ name = 'buffer' },
}
)
})
-- Set configuration for specific filetype.