From 91f219193e541469eb335f2977c9fa2c1eaab2ba Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Wed, 28 May 2025 18:58:17 -0400 Subject: lighter completion --- .config/nvim/lua/user/plugins/cmp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/nvim/lua/user/plugins/cmp.lua') diff --git a/.config/nvim/lua/user/plugins/cmp.lua b/.config/nvim/lua/user/plugins/cmp.lua index 56d6958..a7afe9f 100644 --- a/.config/nvim/lua/user/plugins/cmp.lua +++ b/.config/nvim/lua/user/plugins/cmp.lua @@ -18,12 +18,12 @@ return { }, mapping = cmp.mapping.preset.insert(), sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - { name = "luasnip" }, + { name = 'nvim_lsp', max_item_count = 5 }, + { name = "luasnip", max_item_count = 5 }, }, { - { name = 'buffer' }, + { name = 'buffer', max_item_count = 2 }, }, { - { name = 'path' }, + { name = 'path', max_item_count = 2 }, }), sorting = { comparators = { -- cgit v1.2.3