refactor(nvim): improve cmdline cmp completions
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m16s

This commit is contained in:
Price Hiller 2024-05-10 02:49:22 -05:00
parent 5d30c3ba23
commit a4b0ab3c84
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -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,