Eo: Fix events highlighting to support commas in the events.
This commit is contained in:
parent
c8f09305ef
commit
1aa04f4283
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue