tasn pushed a commit to branch master.

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

commit 2bd48fcce6dfc8ce03f1bd79ba5a4627bdd70ec6
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Jul 31 06:09:46 2014 +0100

    Eo: Fix TODO, XXX and FIXME inside comments.
---
 syntax/eo.vim | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/syntax/eo.vim b/syntax/eo.vim
index 823375b..8e346fe 100644
--- a/syntax/eo.vim
+++ b/syntax/eo.vim
@@ -19,7 +19,10 @@ syn match      className               "(\w\+\.)*\w\+"
 
 syn match      attributes              
"@\(inout\|out\|in\|class\|const\|extern\|protected\|constructor\|nonull\|warn_unused\)"
 
-syn region     eo_comment start="\/\*" end="\*\/"
+syn keyword    eoTodo          contained TODO FIXME XXX
+syn cluster    eoCommentGroup  contains=eoTodo
+
+syn region     eo_comment start="\/\*" end="\*\/" contains=@eoCommentGroup
 
 hi def link classKeywords Function
 hi def link functionKeywords Label
@@ -29,5 +32,6 @@ hi def link eoBoolean Boolean
 hi def link eoConstants Constant
 
 hi def link eoType Type
+hi def link eoTodo Todo
 
 let b:current_syntax = "eo"

-- 


Reply via email to