30 lines
629 B
Plaintext
30 lines
629 B
Plaintext
|
# JOE syntax highlight file for highlighting TODO: FIXME: XXX: etc
|
||
|
# by Christian Nicolai (http://mycrobase.de)
|
||
|
|
||
|
=Comment
|
||
|
=TODO +Comment
|
||
|
|
||
|
.subr comment_todo
|
||
|
# initial state
|
||
|
:comment_todo_init Comment comment
|
||
|
* comment_todo_guess buffer
|
||
|
|
||
|
# highlight common TODO labels
|
||
|
:comment_todo_guess Comment comment
|
||
|
* comment_todo_unknown noeat strings
|
||
|
"BUG" comment_todo
|
||
|
"FIXME" comment_todo
|
||
|
"HACK" comment_todo
|
||
|
"NOTE" comment_todo
|
||
|
"TODO" comment_todo
|
||
|
"XXX" comment_todo
|
||
|
done
|
||
|
"A-Z" comment_todo_guess
|
||
|
|
||
|
:comment_todo_unknown Comment comment
|
||
|
* NULL noeat return
|
||
|
|
||
|
:comment_todo TODO comment
|
||
|
* NULL noeat return
|
||
|
.end
|