mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 12: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
10
ruby.jsf
10
ruby.jsf
@ -249,11 +249,15 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user