Eo: Fix events highlighting to support commas in the events.

This commit is contained in:
Tom Hacohen 2014-08-06 10:01:08 +01:00
parent c8f09305ef
commit 1aa04f4283
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ 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
syn match eoEvents "^\s*[^;: ]\+\(;\|:\|\s\)" contained containedin=eoEventsRegion contains=eoEvent
syn match eoEvent "[^;: ]\+" contained
hi def link eoEvent Identifier
hi def link eoClassBodyLabels Label