aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc.stub.vim
blob: 1d8d3d9a232e490ed23017e5f5da8c98f4705152 (plain)
1
2
3
4
5
6
7
8
9
10
11
" If we have non-tiny Vim version >=7, source real vimrc; this works because
" tiny and/or ancient builds of Vim quietly ignore all code in :if blocks
if v:version >= 700 && !&compatible
  runtime vimrc
  finish
endif

" Otherwise, prevent an old and/or tiny Vim from using any part of our
" configuration, because parts of it will break
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after