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:
parent
2dfd716959
commit
495194d5ca
12
ruby.jsf
12
ruby.jsf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user