1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-10-31 14:56:16 +01:00

Make columns/whitespace consistent

This commit is contained in:
Rebecca Turner 2014-09-13 12:38:41 -07:00
parent f763acaaf6
commit 1b0ad96dd8

38
js.jsf
View File

@ -41,7 +41,7 @@
:idle Idle
* idle
"/" regex_or_comment recolor=-1
"/" re_or_comment recolor=-1
"0" first_digit recolor=-1
"1-9" decimal recolor=-1
"." maybe_float
@ -171,7 +171,7 @@ done
"\"'" after_term
"a-zA-Z0-9_." bad_after_term
:regex_or_comment Syntax
:re_or_comment Syntax
* regex recolor=-2
"*/" maybe_comment noeat
@ -324,7 +324,7 @@ done
"a-zA-Z0-9_" infix_operator
:bad_op Bad
* idle noeat
* idle noeat
"a-zA-Z0-9_" bad_op
:operator Operator
@ -479,7 +479,7 @@ done
"a-zA-Z0-9_" export_item
:lit Constant
* lit_end noeat
* lit_end noeat
:lit_end Constant
* after_term noeat
@ -490,24 +490,24 @@ done
.subr comment_todo
# initial state
:comment_todo_init Comment
* comment_todo_guess buffer
:todo_init Comment
* todo_guess buffer
# highlight common TODO labels
:comment_todo_guess Comment
* comment_todo_unknown noeat strings
"BUG" comment_todo
"FIXME" comment_todo
"HACK" comment_todo
"NOTE" comment_todo
"TODO" comment_todo
"XXX" comment_todo
:todo_guess Comment
* todo_unknown noeat strings
"BUG" todo
"FIXME" todo
"HACK" todo
"NOTE" todo
"TODO" todo
"XXX" todo
done
"A-Z" comment_todo_guess
"A-Z" todo_guess
:comment_todo_unknown Comment
* NULL noeat return
:todo_unknown Comment
* NULL noeat return
:comment_todo CommentLabel
* NULL noeat return
:todo CommentLabel
* NULL noeat return
.end