workaround for nvim truncating files on crash

This commit is contained in:
Michele Guerini Rocco 2019-04-30 02:17:39 +02:00
parent 6fe816a7ef
commit 8499fbf313
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A

View File

@ -68,6 +68,7 @@ set nowrap " Disable line wrap
set novb " Disable visual beep set novb " Disable visual beep
set nofoldenable " Disable folding set nofoldenable " Disable folding
set fsync
set nobackup " Disable ~backup set nobackup " Disable ~backup
set noswapfile " Disable swap files set noswapfile " Disable swap files
set writebackup " Enable temp backups set writebackup " Enable temp backups