Eo: Add events highlighting (events section).

This commit is contained in:
Tom Hacohen 2014-07-31 10:25:37 +01:00
parent 89065e2629
commit 3d70f952ae
1 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,12 @@ syn match eoFloat display contained "\d\+e[-+]\=\d\+[fl]\=\>"
syn match eoOctalError display contained "0\o*[89]\d*"
syn case match
" Events region
syn region eoEventsRegion start="\<events\_s*{" end="}" transparent
syn match eoEvents "^\s*\w\+\(;\|:\|\s\)" contained containedin=eoEventsRegion contains=eoEvent
syn match eoEvent "\w\+" contained
hi def link eoEvent Identifier
hi def link eoClassBodyLabels Label
hi def link eoClassBodyBlockOpener Label
hi def link eoInnerBlockOpener Label