Yee Cheng Chin cabb4957fa Allow never opening window + terminate on last window, with guards
Previously we disabled this combo in f6ba7dd40b because when
implemented naively, it causes an issue where just opening an About
MacVim or Settings window could immediately cause MacVim to exit
(because macOS determined that there were no non-auxillary window open).
This was awkward and potentially made it hard to change the setting
back, and exact behavior depended on OS behavior.

However, it seems like there are legit use case for this combo of
settings. Change it so that we allow setting both of them again, but add
checks so that `applicationShouldTerminateAfterLastWindowClosed:` will
only return `YES` if we have opened at least one Vim window before. This
gives the user a chance to open a window first, so using Settings etc
wouldn't immediately terminate the app.

Fix #1338
2022-11-04 18:55:51 -07:00
2021-08-29 21:55:35 +02:00
2022-10-04 16:28:45 +01:00
2022-07-29 21:36:21 +01:00
2021-08-29 21:55:35 +02:00

Vim - the text editor - for macOS

S
Description
Vim - the text editor - for macOS
Readme 251 MiB
Languages
Vim Script 52%
C 38.1%
Objective-C 3.1%
Roff 1.6%
Makefile 1.2%
Other 3.2%