X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/00265670bcd9bfb48f74b6a8f30077f93fc88e86..12e02a5137ea8a462bc1a7c8755ab8eed83bb235:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 9af477e..092f594 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -309,7 +309,9 @@ set backupskip+=.netrc " skip netrc set backupskip+=/dev/shm/pass* " skip passwordstore files set undofile " persistent undo history -set undodir=$XDG_CACHE_HOME/vim/undo// +if !has('nvim') + set undodir=$XDG_CACHE_HOME/vim/undo// +endif augroup undoskip au!