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
1 changed files with 2 additions and 0 deletions

View File

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