diff options
author | Nico Weber <thakis@chromium.org> | 2012-06-01 17:56:41 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2012-06-01 17:59:15 (GMT) |
commit | d8d301b2ec346c94661994cb9017ad0c559ae473 (patch) | |
tree | 28e81045b28c27b9cb900ca6859b5541996031a5 /misc/ninja.vim | |
parent | b6664431cb5275389d6e25d5e29c67796b7281e7 (diff) | |
download | Ninja-d8d301b2ec346c94661994cb9017ad0c559ae473.zip Ninja-d8d301b2ec346c94661994cb9017ad0c559ae473.tar.gz Ninja-d8d301b2ec346c94661994cb9017ad0c559ae473.tar.bz2 |
Make `:set spell` only check spelling in comments. Patch from Thilo Six <T.Six@gmx.de>!
Diffstat (limited to 'misc/ninja.vim')
-rw-r--r-- | misc/ninja.vim | 8 |
1 files 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 <nicolasweber@gmx.de> -" 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). |