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

Fixed ruby string substitution highlight

In (at least recent versions of) ruby the phrase #{var} is used
for string substitution in "..." strings.
This commit is contained in:
Christian Nicolai 2011-08-02 15:16:22 +02:00
parent 2dfd716959
commit 495194d5ca

View File

@ -249,12 +249,16 @@ done
* string
"\"" after_term
"\\" string_escape recolor=-1
"$@" string_subst recolor=-1
"#" maybe_string_subst recolor=-1
:maybe_string_subst Constant
* string
"{" string_subst recolor=-2
:string_subst Escape
* string noeat recolor=-1
"a-zA-Z_0-9" string_subst
* string_subst
"}" string
:string_escape Escape
* string
"x" string_hex1