mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
[v0.6] backupdir will be created by default
No need to create the backupdir manually.
This commit is contained in:
parent
0ad051b394
commit
ac69b61c03
@ -35,10 +35,7 @@ set wildignore+=*.aux,*.bbl,*.blg,*.brf,*.fls,*.fdb_latexmk,*.synctex.gz,*.xdv
|
|||||||
set wildignorecase " ignore file and dir name cases in cmd-completion
|
set wildignorecase " ignore file and dir name cases in cmd-completion
|
||||||
|
|
||||||
" Set up backup directory
|
" Set up backup directory
|
||||||
let g:backupdir=expand(stdpath('data') . '/backup')
|
let g:backupdir=expand(stdpath('data') . '/backup//')
|
||||||
if !isdirectory(g:backupdir)
|
|
||||||
call mkdir(g:backupdir, 'p')
|
|
||||||
endif
|
|
||||||
let &backupdir=g:backupdir
|
let &backupdir=g:backupdir
|
||||||
|
|
||||||
" Skip backup for patterns in option wildignore
|
" Skip backup for patterns in option wildignore
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user