refactor(nvim): improve cmdline cmp completions
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m16s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m16s
This commit is contained in:
parent
5d30c3ba23
commit
a4b0ab3c84
@ -439,6 +439,7 @@ return {
|
|||||||
cmp.setup.cmdline(":", {
|
cmp.setup.cmdline(":", {
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
mapping = cmp.mapping.preset.cmdline(),
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
|
{ name = "cmdline_history", max_item_count = 3 },
|
||||||
{
|
{
|
||||||
name = "cmdline",
|
name = "cmdline",
|
||||||
option = {
|
option = {
|
||||||
@ -447,9 +448,7 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
priority = 100,
|
priority = 100,
|
||||||
max_item_count = 5,
|
|
||||||
},
|
},
|
||||||
{ name = "cmdline_history", max_item_count = 3 },
|
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user