summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-06-02 17:18:58 (GMT)
committerEvan Martin <martine@danga.com>2012-06-02 17:18:58 (GMT)
commitb4412fb6576250da01a3b1071b17a3e353d33811 (patch)
treea523ddfff4e5da490b91acc9e0a1ca6a1abb7084
parent3af8056f1a5b8ef2793e854811f6fcdc58569f54 (diff)
parentd8d301b2ec346c94661994cb9017ad0c559ae473 (diff)
downloadNinja-b4412fb6576250da01a3b1071b17a3e353d33811.zip
Ninja-b4412fb6576250da01a3b1071b17a3e353d33811.tar.gz
Ninja-b4412fb6576250da01a3b1071b17a3e353d33811.tar.bz2
Merge pull request #319 from nico/vimp
Make `:set spell` only check spelling in comments. Patch from Thilo Six ...
-rw-r--r--misc/ninja.vim8
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).