From: Simon Ruderich Date: Fri, 19 Jun 2009 17:37:33 +0000 (+0200) Subject: vimrc: Don't enable spell checking with vimdiff. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d7d6d8afb15eea1a264f0467896fa717e7405cea;p=config%2Fdotfiles.git vimrc: Don't enable spell checking with vimdiff. --- diff --git a/vimrc b/vimrc index b200fa4..4da495d 100644 --- a/vimrc +++ b/vimrc @@ -84,8 +84,9 @@ endif set ignorecase set smartcase -" Activate spell checking, use English as default. -if v:version >= 700 +" Activate spell checking, use English as default. Don't use spell checking +" when diffing. +if v:version >= 700 && !&diff set spell set spelllang=en_us endif