Eo: Fix TODO, XXX and FIXME inside comments.

This commit is contained in:
Tom Hacohen 2014-07-31 06:09:46 +01:00
parent f4a6c84e82
commit 2bd48fcce6
1 changed files with 5 additions and 1 deletions

View File

@ -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"