From 8f3d9d1142f3c8deb3f16edea6533acc9678f3e7 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 31 Jul 2014 08:27:49 +0100 Subject: [PATCH] Eo: Fix constructor attribute and clean up class types. --- syntax/eo.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/syntax/eo.vim b/syntax/eo.vim index 42bb0bb..0546a84 100644 --- a/syntax/eo.vim +++ b/syntax/eo.vim @@ -9,7 +9,8 @@ syn keyword eoConstants null syn keyword eoType bool byte ubyte char uchar short ushort int uint long ulong float double void -syn keyword eoStructure class abstract interface mixin struct enum var +syn keyword eoClassTypes class abstract interface mixin +syn keyword eoStructure struct enum var syn keyword eoTypedef type syn keyword eoClassBodyLabels legacy_prefix eo_prefix data contained @@ -22,7 +23,7 @@ syn keyword eoStatements return syn match className "\(\w\+\.\)\+\w\+" -syn match attributes "@\(inout\|out\|in\|class\|const\|extern\|protected\|constructor\|nonull\|warn_unused\|private\)" +syn match attributes "@\(inout\|out\|in\|class\|constructor\|extern\|protected\|const\|nonull\|warn_unused\|private\)" syn match eoLabelMatch "\w\+:" contains=eoClassBodyLabels syn match eoBlockOpener "\w\+\s*{" contains=eoClassBodyBlockOpener,eoInnerBlockOpener @@ -50,6 +51,7 @@ hi def link className Identifier hi def link eoStatements Statement hi def link eoStructure Structure +hi def link eoClassTypes Structure hi def link eoType Type hi def link eoTypedef Typedef