mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02: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:
parent
2dfd716959
commit
495194d5ca
12
ruby.jsf
12
ruby.jsf
@ -249,12 +249,16 @@ done
|
|||||||
* string
|
* string
|
||||||
"\"" after_term
|
"\"" after_term
|
||||||
"\\" string_escape recolor=-1
|
"\\" 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_subst Escape
|
||||||
* string noeat recolor=-1
|
* string_subst
|
||||||
"a-zA-Z_0-9" string_subst
|
"}" string
|
||||||
|
|
||||||
:string_escape Escape
|
:string_escape Escape
|
||||||
* string
|
* string
|
||||||
"x" string_hex1
|
"x" string_hex1
|
||||||
|
Loading…
Reference in New Issue
Block a user