mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
docs: misc
Co-authored-by: Dustin S. <dstackmasta27@gmail.com> Co-authored-by: Ferenc Fejes <fejes@inf.elte.hu> Co-authored-by: Maria José Solano <majosolano99@gmail.com> Co-authored-by: Yochem van Rosmalen <git@yochem.nl> Co-authored-by: brianhuster <phambinhanctb2004@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -187,8 +187,7 @@ static void on_signal(SignalWatcher *handle, int signum, void *data)
|
||||
switch (signum) {
|
||||
#ifdef SIGPWR
|
||||
case SIGPWR:
|
||||
// Signal of a power failure(eg batteries low), flush the swap files to
|
||||
// be safe
|
||||
// Signal of a power failure (eg batteries low), flush the swap files to be safe
|
||||
ml_sync_all(false, false, true);
|
||||
break;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user