summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/user/plugins/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/user/plugins/cmp.lua')
-rw-r--r--.config/nvim/lua/user/plugins/cmp.lua8
1 files changed, 4 insertions, 4 deletions
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 = {