mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
fix(defaults): set 'fsync' #26034
Problem: 'nofsync' may lose data if the system has a hard shutdown. #9888 Solution: Change default to 'fsync'. This may be revisited in the future when 'nofsync' can be made safer.
This commit is contained in:
@@ -3307,7 +3307,7 @@ return {
|
||||
},
|
||||
{
|
||||
abbreviation = 'fs',
|
||||
defaults = { if_true = false },
|
||||
defaults = { if_true = true },
|
||||
desc = [=[
|
||||
When on, the OS function fsync() will be called after saving a file
|
||||
(|:write|, |writefile()|, …), |swap-file|, |undo-persistence| and |shada-file|.
|
||||
|
Reference in New Issue
Block a user