diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua index 28ef5991..205b10e0 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -439,6 +439,7 @@ return { cmp.setup.cmdline(":", { mapping = cmp.mapping.preset.cmdline(), sources = cmp.config.sources({ + { name = "cmdline_history", max_item_count = 3 }, { name = "cmdline", option = { @@ -447,9 +448,7 @@ return { }, }, priority = 100, - max_item_count = 5, }, - { name = "cmdline_history", max_item_count = 3 }, }), }) end,