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 \
|
||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||
single_string "'" "'" '' \
|
||||
single_string "'" (?<!\\)(\\\\)*' '' \
|
||||
backtick '`' (?<!\\)(\\\\)*` '' \
|
||||
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
||||
comment '#' '$' '' \
|
||||
|
|
Loading…
Reference in New Issue
Block a user