diff --git a/.vim/vimrc b/.vim/vimrc index f9c12a5..9fff7cc 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -57,7 +57,7 @@ let g:polyglot_disabled = ["autoindent", "sensible"] let g:snipMate = {'snippet_version': 1} " " Local -if filereadable("~/.vim/vimrc-preplug.local") +if filereadable(expand("~/.vim/vimrc-preplug.local")) source ~/.vim/vimrc-preplug.local endif " @@ -119,6 +119,6 @@ autocmd BufReadPost COMMIT_EDITMSG exe "normal! gg" map :NERDTreeToggle " " Local -if filereadable("~/.vim/vimrc-post.local") +if filereadable(expand("~/.vim/vimrc-post.local")) source ~/.vim/vimrc-post.local endif