Eo: Fix constructor attribute and clean up class types.
This commit is contained in:
parent
5634b24642
commit
8f3d9d1142
|
@ -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 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 eoTypedef type
|
||||||
|
|
||||||
syn keyword eoClassBodyLabels legacy_prefix eo_prefix data contained
|
syn keyword eoClassBodyLabels legacy_prefix eo_prefix data contained
|
||||||
|
@ -22,7 +23,7 @@ syn keyword eoStatements return
|
||||||
|
|
||||||
syn match className "\(\w\+\.\)\+\w\+"
|
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 eoLabelMatch "\w\+:" contains=eoClassBodyLabels
|
||||||
syn match eoBlockOpener "\w\+\s*{" contains=eoClassBodyBlockOpener,eoInnerBlockOpener
|
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 eoStatements Statement
|
||||||
|
|
||||||
hi def link eoStructure Structure
|
hi def link eoStructure Structure
|
||||||
|
hi def link eoClassTypes Structure
|
||||||
|
|
||||||
hi def link eoType Type
|
hi def link eoType Type
|
||||||
hi def link eoTypedef Typedef
|
hi def link eoTypedef Typedef
|
||||||
|
|
Loading…
Reference in New Issue