Updated runtime files.

This commit is contained in:
Bram Moolenaar
2012-05-18 13:46:39 +02:00
parent dbb4a42cdc
commit 1aeaf8c0e0
38 changed files with 894 additions and 320 deletions

View File

@ -1,8 +1,8 @@
" ninja build file syntax.
" Language: ninja build file as described at
" http://martine.github.com/ninja/manual.html
" Version: 1.0
" Last Change: 2012 Jan 04
" Version: 1.1
" Last Change: 2012/05/13
" Maintainer: Nicolas Weber <nicolasweber@gmx.de>
" ninja lexer and parser are at
@ -15,6 +15,8 @@ endif
syn case match
syn match ninjaComment /#.*/
" Toplevel statements are the ones listed here and
" toplevel variable assignments (ident '=' value).
" lexer.in.cc, ReadToken() and parsers.cc, Parse()
@ -53,6 +55,7 @@ syn match ninjaVar "\${[a-zA-Z0-9_.-]\+}"
" order-only dependency ||
syn match ninjaOperator "\(=\|:\||\|||\)\ze\s"
hi def link ninjaComment Comment
hi def link ninjaKeyword Keyword
hi def link ninjaRuleCommand Statement
hi def link ninjaWrapLineOperator ninjaOperator