refactor(nvim): limit the item count of buffer-lines cmp

This commit is contained in:
Price Hiller 2022-10-11 14:47:46 -05:00
parent 1b945f7ebb
commit 89650b5517

View File

@ -124,7 +124,7 @@ cmp.setup({
{ name = "nvim_lsp", priority = 11 },
{ name = "luasnip", priority = 10 }, -- For luasnip users.
{ name = "fuzzy_buffer", priority = 9, keyword_length = 3, max_item_count = 10 },
{ name = "buffer-lines", priority = 8 },
{ name = "buffer-lines", priority = 8, max_item_count = 10 },
{
name = "rg",
priority = 7,