mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Ensure viminfo is written on Cmd-q
This commit is contained in:
@@ -1060,9 +1060,11 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
|
||||
}
|
||||
} else if (TerminateNowMsgID == msgid) {
|
||||
// Terminate immediately (the frontend is about to quit or this process
|
||||
// was aborted).
|
||||
// was aborted). Don't preserve modified files since the user would
|
||||
// already have been presented with a dialog warning if there were any
|
||||
// modified files when we get here.
|
||||
isTerminating = YES;
|
||||
mch_exit(0);
|
||||
getout(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user