blob: b5763f16147b527dba11a578956b9563f08e36b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
" If POSIXLY_CORRECT is defined in the environment, we'll start compatible if
" we're not already planning to do so.
if exists('$POSIXLY_CORRECT') && !&compatible
set compatible
endif
" 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
|