From 39fb159b6bc1799d0b7c208bbd1582a94a2fc9bc Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 31 Jul 2014 06:21:16 +0100 Subject: [PATCH] Eo: Add structure keywords. --- syntax/eo.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/syntax/eo.vim b/syntax/eo.vim index dd3a28d..6c83ac1 100644 --- a/syntax/eo.vim +++ b/syntax/eo.vim @@ -9,7 +9,9 @@ syn keyword eoConstants null syn keyword eoType int uint bool char uchar byte ubyte double float -syn keyword classKeywords class abstract legacy_prefix eo_prefix data contained +syn keyword eoStructure class type struct enum var + +syn keyword classKeywords abstract legacy_prefix eo_prefix data contained syn keyword classKeywords constructors properties methods implements events contained syn keyword functionKeywords set get keys values params constructor destructor finalize virtual const contained return @@ -24,13 +26,15 @@ syn cluster eoCommentGroup contains=eoTodo syn region eo_comment start="\/\*" end="\*\/" contains=@eoCommentGroup -hi def link classKeywords Function +hi def link classKeywords Statement hi def link functionKeywords Label hi def link attributes Constant hi def link eo_comment Comment hi def link eoBoolean Boolean hi def link eoConstants Constant +hi def link eoStructure Structure + hi def link eoType Type hi def link eoTodo Todo