Keep editor from switching to normal mode when loading a Document (#11176)

pull/7109/merge
FlorianNAdam 2 months ago committed by GitHub
parent 702a96d417
commit 6345b78409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1544,7 +1544,9 @@ impl Editor {
return;
}
self.enter_normal_mode();
if !matches!(action, Action::Load) {
self.enter_normal_mode();
}
match action {
Action::Replace => {

Loading…
Cancel
Save