tasn pushed a commit to branch master.

http://git.enlightenment.org/editors/vim-configs.git/commit/?id=1aa04f4283afa64aa97817b60205f860c7b71f2d

commit 1aa04f4283afa64aa97817b60205f860c7b71f2d
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Aug 6 10:01:08 2014 +0100

    Eo: Fix events highlighting to support commas in the events.
---
 syntax/eo.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/syntax/eo.vim b/syntax/eo.vim
index 8546930..452d311 100644
--- a/syntax/eo.vim
+++ b/syntax/eo.vim
@@ -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

-- 


Reply via email to