diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 4d691b9..1dcea37 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -78,12 +78,15 @@ cmp.setup({ -- Set `select` to `false` to only confirm explicitly selected items. [''] = 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.