feat(vim): add path completion to cmdline
This is actually quite nice. I use it all the time to be realy lazy and type commands without capitalization.
This commit is contained in:
parent
6ba33108e2
commit
ba4aca9636
1 changed files with 8 additions and 0 deletions
|
|
@ -90,3 +90,11 @@ cmp.setup({
|
|||
},
|
||||
})
|
||||
|
||||
cmp.setup.cmdline(":", {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "path" },
|
||||
}, {
|
||||
{ name = "cmdline" },
|
||||
}),
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue