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
1 changed files with 12 additions and 2 deletions

View File

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