1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 12:54:23 +01:00

asterisk: color substitutions and allow changing color for => separately

This commit is contained in:
cn 2015-03-11 23:04:03 +01:00
parent ed71cbcfca
commit 34bd559a6e

View File

@ -8,6 +8,7 @@
=Key =Key
=Separator bold =Separator bold
=SeparatorArrow bold
=Section bold magenta =Section bold magenta
:line_start Idle :line_start Idle
@ -53,9 +54,9 @@
:sep Separator :sep Separator
* value_pre noeat * value_pre noeat
">" sep_arrow recolor=-1 ">" sep_arrow recolor=-2
:sep_arrow Separator :sep_arrow SeparatorArrow
* value_pre noeat * value_pre noeat
:value_pre Idle :value_pre Idle
@ -67,6 +68,7 @@
"\\" value_esc "\\" value_esc
"\n" line_start "\n" line_start
" \t\r" maybe_comment recolor=-1 " \t\r" maybe_comment recolor=-1
"$" maybe_subst
:value_esc Escape :value_esc Escape
* value * value
@ -78,3 +80,11 @@
:maybe_comment Idle :maybe_comment Idle
* value noeat * value noeat
";#" line_comment recolor=-1 ";#" line_comment recolor=-1
:maybe_subst Constant
* value noeat
"{" subst recolor=-2
:subst Escape
* subst
"}" value