diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc.stub | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/vimrc.stub b/vim/vimrc.stub index 29a9e1bf..0be30848 100644 --- a/vim/vimrc.stub +++ b/vim/vimrc.stub @@ -5,6 +5,10 @@ " clear, we can load the main vimrc file from ~/.vim/vimrc to use Vim in all " of its incompatible glory, and then stop sourcing the rest of this file. " +" We have to set 'compatible' back to its default because system vimrcs +" sometimes set it. +" +set compatible& if !&compatible && !exists('$POSIXLY_CORRECT') && v:version >= 700 runtime vimrc finish |