feat(nvim): show man completions on command line

This commit is contained in:
Price Hiller 2023-05-18 02:31:40 -05:00
parent cedcf23a49
commit 27e4a081ae
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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" },
}), }),
}) })