Fix close mapping

This commit is contained in:
hrsh7th
2021-08-12 22:09:02 +09:00
parent 255f7173fa
commit 95c70dabcd

View File

@@ -11,7 +11,7 @@ end
mapping.close = function()
return function(core, fallback)
if vim.fn.pumvisible() == 1 then
core.close()
core.reset()
else
fallback()
end