Maybe finally properly fix undodir

This commit is contained in:
Anthony Cicchetti 2020-11-09 11:01:46 -05:00
parent c2c6e82c54
commit 5f4c8b507a

View file

@ -43,10 +43,10 @@ if has('nvim')
endif endif
if has("persistent_undo") if has("persistent_undo")
if !isdirectory("$HOME" . "/.undodir") if !isdirectory($HOME . "/.undodir")
call mkdir("$HOME" . "/.undodir", "p", 0770) call mkdir($HOME . "/.undodir", "p", 0770)
endif endif
set undodir="$HOME" . "/.undodir//" set undodir=~/.undodir/
set undofile set undofile
augroup undodir augroup undodir
autocmd! autocmd!