Fix mapping normalization order

This commit is contained in:
hrsh7th
2022-04-14 02:37:21 +09:00
parent f4b3dda782
commit 0c1f37c518
3 changed files with 22 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ mapping.preset.cmdline = function(override)
if cmp.visible() then
cmp.select_next_item()
else
cmp.complete()
cmp.complete({ reason = cmp.ContextReason.Manual })
end
end
},
@@ -60,7 +60,7 @@ mapping.preset.cmdline = function(override)
if cmp.visible() then
cmp.select_prev_item()
else
cmp.complete()
cmp.complete({ reason = cmp.ContextReason.Manual })
end
end
},
@@ -84,6 +84,9 @@ mapping.preset.cmdline = function(override)
end
end
},
['<C-e>'] = {
c = mapping.close(),
},
})
end