From d8d301b2ec346c94661994cb9017ad0c559ae473 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 1 Jun 2012 10:56:41 -0700 Subject: [PATCH] Make `:set spell` only check spelling in comments. Patch from Thilo Six ! --- misc/ninja.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/ninja.vim b/misc/ninja.vim index f8ba783..51a95c2 100644 --- a/misc/ninja.vim +++ b/misc/ninja.vim @@ -1,10 +1,10 @@ " ninja build file syntax. " Language: ninja build file as described at " http://martine.github.com/ninja/manual.html -" Version: 1.1 -" Last Change: 2012/05/13 +" Version: 1.2 +" Last Change: 2012/06/01 " Maintainer: Nicolas Weber -" Version 1.1 of this script is in the upstream vim repository and will be +" Version 1.2 of this script is in the upstream vim repository and will be " included in the next vim release. If you change this, please send your change " upstream. @@ -18,7 +18,7 @@ endif syn case match -syn match ninjaComment /#.*/ +syn match ninjaComment /#.*/ contains=@Spell " Toplevel statements are the ones listed here and " toplevel variable assignments (ident '=' value). -- 2.7.4