Fix ci" on a brazillian keyboard (#13185)

Fixes: #12523

Release Notes:

- vim: Fix ci" on keyboards where typing a " requires the IME (#12523)
This commit is contained in:
Conrad Irwin 2024-06-17 22:38:36 -06:00 committed by GitHub
parent 05c4c7872c
commit 51404d4ea0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 4 deletions

View file

@ -187,7 +187,7 @@ fn observe_keystrokes(keystroke_event: &KeystrokeEvent, cx: &mut WindowContext)
if action.name().starts_with("vim::") {
return;
}
} else if cx.has_pending_keystrokes() {
} else if cx.has_pending_keystrokes() || keystroke_event.keystroke.is_ime_in_progress() {
return;
}