mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:8.2.3509: undo file is not synced
Problem: Undo file is not synced. (Sami Farin) Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt, closes vim/vim#8879, closes vim/vim#8920)340dd0fbe4
Co-authored-by: Bram Moolenaar <Bram@vim.org> (cherry picked from commitff5b103ac7
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
fb73bfd667
commit
5c2f442a74
@@ -2768,8 +2768,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'fsync' 'fs' boolean (default off)
|
||||
global
|
||||
When on, the OS function fsync() will be called after saving a file
|
||||
(|:write|, |writefile()|, …), |swap-file| and |shada-file|. This
|
||||
flushes the file to disk, ensuring that it is safely written.
|
||||
(|:write|, |writefile()|, …), |swap-file|, |undo-persistence| and |shada-file|.
|
||||
This flushes the file to disk, ensuring that it is safely written.
|
||||
Slow on some systems: writing buffers, quitting Nvim, and other
|
||||
operations may sometimes take a few seconds.
|
||||
|
||||
|
Reference in New Issue
Block a user