From 85e5af4da2b16b8a0e088bb67937ba18067a52e9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 14 Nov 2009 14:40:38 +0100 Subject: [PATCH] vimrc: Improve check for spelling support. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index fbf5a87..f90d072 100644 --- a/vimrc +++ b/vimrc @@ -81,7 +81,7 @@ set smartcase " Activate spell checking, use English as default. Don't use spell checking " when diffing. -if v:version >= 700 && !&diff +if v:version >= 700 && has('syntax') && !&diff set spell set spelllang=en_us endif -- 2.45.2