From 89650b5517030dc1b844c07361f4482145e03c92 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 11 Oct 2022 14:47:46 -0500 Subject: [PATCH] refactor(nvim): limit the item count of buffer-lines cmp --- .../primary/config/lua/plugins/configs/_cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua index d47c2b69..af9a8f81 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua @@ -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,