💄 style(nvim): cmp formatted correctly

This commit is contained in:
Sergio Laín 2023-10-09 00:56:34 +02:00
parent 8c4aba2a46
commit b5a542ab91
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -36,10 +36,10 @@ return {
}), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
}),
sources = cmp.config.sources({
{ name = "nvim_lsp" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },
{ name = "nvim_lsp", group_index = 1 },
{ name = "luasnip", group_index = 1 },
{ name = "buffer", group_index = 2 },
{ name = "path", group_index = 2 },
}),
formatting = {
format = function(_, item)