jayji pushed a commit to branch master.

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

commit d5c23f4601a04812a5a5d531db6fbe914e2d7bca
Author: Jean Guyomarc'h <jean.guyoma...@gmail.com>
Date:   Wed Mar 16 23:01:56 2016 +0100

    syntax/eo: add support for single-line comments (//)
---
 syntax/eo.vim | 1 +
 1 file changed, 1 insertion(+)

diff --git a/syntax/eo.vim b/syntax/eo.vim
index 1ffa42d..2068857 100644
--- a/syntax/eo.vim
+++ b/syntax/eo.vim
@@ -39,6 +39,7 @@ syn region    eoBlock start="{" end="}" transparent fold
 
 syn region     eo_comment start="\/\*" end="\*\/" contains=@eoCommentGroup
 syn region     eo_comment start="\[\[" end="\]\]" contains=@eoCommentGroup
+syn region     eo_comment start="//" skip="\\$" end="$" keepend 
contains=@eoCommentGroup
 
 " Numbers
 "integer number, or floating point number without a dot and with "f".

-- 


Reply via email to