mirror of https://gitlab.com/baco/dotconf.git
Unset backup in favor of undo settings for NeoVim
This commit is contained in:
parent
3f5207c7e3
commit
7655a75d45
|
@ -2,11 +2,8 @@
|
||||||
|
|
||||||
" Some defaults to start with
|
" Some defaults to start with
|
||||||
" from: runtime! vimrc_example.vim
|
" from: runtime! vimrc_example.vim
|
||||||
if !has('vms')
|
if !has('vms') && has('persistent_undo')
|
||||||
set backup " keep a backup file (restore to previous version)
|
set undofile " keep an undo file (undo changes after closing)
|
||||||
if has('persistent_undo')
|
|
||||||
set undofile " keep an undo file (undo changes after closing)
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Essentials
|
" Essentials
|
||||||
|
@ -48,5 +45,3 @@ if exists('g:colors_name') && g:colors_name == 'onedark'
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
set backupdir-=. backupdir+=.
|
|
||||||
|
|
Loading…
Reference in New Issue