feat(nvim): show man completions on command line
This commit is contained in:
parent
cedcf23a49
commit
27e4a081ae
@ -194,7 +194,12 @@ cmp.setup.cmdline("@", {
|
|||||||
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" },
|
{
|
||||||
|
name = "cmdline",
|
||||||
|
option = {
|
||||||
|
ignore_cmds = {'!'}
|
||||||
|
}
|
||||||
|
},
|
||||||
{ name = "cmdline_history" },
|
{ name = "cmdline_history" },
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user