plugins/cmp: Use keymaps for command line too.

will be used if cmp triggered in command line mode
This commit is contained in:
Akianonymus 2022-05-05 13:38:30 +05:30 committed by siduck
parent 492fee1979
commit 08e9ab363e

View File

@ -69,6 +69,7 @@ local options = {
end, { end, {
"i", "i",
"s", "s",
"c",
}), }),
["<S-Tab>"] = cmp.mapping(function(fallback) ["<S-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then if cmp.visible() then
@ -81,6 +82,7 @@ local options = {
end, { end, {
"i", "i",
"s", "s",
"c",
}), }),
}, },
sources = { sources = {