diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc.stub.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/vimrc.stub.vim b/vim/vimrc.stub.vim index 51ca436a..72c7f7e1 100644 --- a/vim/vimrc.stub.vim +++ b/vim/vimrc.stub.vim @@ -1,4 +1,14 @@ " If we have Vim version >=7, and (implicitly) +eval, source real vimrc if v:version >= 700 runtime vimrc + +" If not, prevent Vim from using any part of our configuration +else + if has('win32') || has('win64') + set runtimepath-=~/vimfiles + set runtimepath-=~/vimfiles/after + else + set runtimepath-=~/.vim + set runtimepath-=~/.vim/after + endif endif |