diff options
Diffstat (limited to 'runtime/syntax/datascript.vim')
-rw-r--r-- | runtime/syntax/datascript.vim | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/runtime/syntax/datascript.vim b/runtime/syntax/datascript.vim index 76f977ac1..2b4ec513b 100644 --- a/runtime/syntax/datascript.vim +++ b/runtime/syntax/datascript.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Datascript " Maintainer: Dominique Pelle <dominique.pelle@gmail.com> -" Last Change: 2012 Apr 30 +" Last Change: 2014 Feb 26 " " DataScript is a formal language for modelling binary datatypes, " bitstreams or file formats. For more information, see: @@ -16,8 +16,8 @@ let s:keepcpo= &cpo set cpo&vim syn keyword dsPackage import package -syn keyword dsType bit string -syn keyword dsType int8 int16 int32 int64 +syn keyword dsType bit bool string +syn keyword dsType int int8 int16 int32 int64 syn keyword dsType uint8 uint16 uint32 uint64 syn keyword dsType leint16 leint32 leint64 syn keyword dsType leuint16 leuint32 leuint64 @@ -25,13 +25,14 @@ syn keyword dsEndian little big syn keyword dsAlign align syn keyword dsLabel case default syn keyword dsConditional if condition -syn keyword dsCompound union choice on enum bitmask subtype +syn keyword dsBoolean true false +syn keyword dsCompound union choice on enum bitmask subtype explicit syn keyword dsKeyword function return syn keyword dsOperator sizeof bitsizeof lengthof is sum forall in syn keyword dsStorageClass const syn keyword dsTodo contained TODO FIXME XXX -syn keyword dsSql sql sql_table sql_database sql_pragma -syn keyword dsSql sql_integer sql_metadata sql_key +syn keyword dsSql sql sql_table sql_database sql_pragma sql_index +syn keyword dsSql sql_integer sql_metadata sql_key foreign_key " dsCommentGroup allows adding matches for special things in comments. syn cluster dsCommentGroup contains=dsTodo @@ -70,6 +71,7 @@ hi def link dsOffset Label hi def link dsSql PreProc hi def link dsCompound Structure hi def link dsConditional Conditional +hi def link dsBoolean Boolean hi def link dsKeyword Statement hi def link dsString String hi def link dsNumber Number |