diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc.stub | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v6.46.0 -Mon, 24 Jun 2019 13:04:23 +0000 +tejr dotfiles v6.47.0 +Tue, 25 Jun 2019 05:50:41 +0000 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 |