aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc.stub.vim
blob: b7aa1debe5e911da00ed82a072155dace7eb5fd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
" 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
  runtime vimrc
  finish
endif

" Otherwise, prevent Vim from using any part of our configuration
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after
if has('win32') || has('win64')
  set runtimepath-=~/vimfiles
  set runtimepath-=~/vimfiles/after
endif