fix(completion): prevent K_LUA from closing pum

This commit is contained in:
zeertzjq
2022-01-10 20:03:34 +08:00
parent 8f27c4a041
commit 42e5fd32b0
2 changed files with 11 additions and 1 deletions

View File

@@ -3620,7 +3620,7 @@ static bool ins_compl_prep(int c)
// Ignore end of Select mode mapping and mouse scroll buttons.
if (c == K_SELECT || c == K_MOUSEDOWN || c == K_MOUSEUP
|| c == K_MOUSELEFT || c == K_MOUSERIGHT || c == K_EVENT
|| c == K_COMMAND) {
|| c == K_COMMAND || c == K_LUA) {
return retval;
}