Fix escaping of ' in single quote strings
This commit is contained in:
parent
a25e46f1eb
commit
6ec14030ad
|
@ -19,7 +19,7 @@ hook global BufCreate .*(([.](rb))|(irbrc)|(pryrc)|(Capfile|[.]cap)|(Gemfile)|(G
|
||||||
|
|
||||||
addhl -group / regions -default code ruby \
|
addhl -group / regions -default code ruby \
|
||||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||||
single_string "'" "'" '' \
|
single_string "'" (?<!\\)(\\\\)*' '' \
|
||||||
backtick '`' (?<!\\)(\\\\)*` '' \
|
backtick '`' (?<!\\)(\\\\)*` '' \
|
||||||
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
||||||
comment '#' '$' '' \
|
comment '#' '$' '' \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user