Unset backup in favor of undo settings for NeoVim

This commit is contained in:
Dionisio E Alonso 2019-03-11 18:23:28 -03:00
parent 3f5207c7e3
commit 7655a75d45
1 changed files with 2 additions and 7 deletions

View File

@ -2,11 +2,8 @@
" Some defaults to start with
" from: runtime! vimrc_example.vim
if !has('vms')
set backup " keep a backup file (restore to previous version)
if has('persistent_undo')
set undofile " keep an undo file (undo changes after closing)
endif
if !has('vms') && has('persistent_undo')
set undofile " keep an undo file (undo changes after closing)
endif
" Essentials
@ -48,5 +45,3 @@ if exists('g:colors_name') && g:colors_name == 'onedark'
set termguicolors
endif
endif
set backupdir-=. backupdir+=.