Merge remote-tracking branch 'dianne/string-highlighter-fix'
This commit is contained in:
commit
d9edd3f013
|
@ -12,7 +12,7 @@ hook global BufCreate .*[.](hs) %{
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
add-highlighter -group / regions -default code haskell \
|
add-highlighter -group / regions -default code haskell \
|
||||||
string '"' (?<!\\)(\\\\)*" '' \
|
string %{(?<!')"} (?<!\\)(\\\\)*" '' \
|
||||||
comment (--[^>]) $ '' \
|
comment (--[^>]) $ '' \
|
||||||
comment \{- -\} \{- \
|
comment \{- -\} \{- \
|
||||||
macro ^\h*?\K# (?<!\\)\n ''
|
macro ^\h*?\K# (?<!\\)\n ''
|
||||||
|
|
|
@ -12,7 +12,7 @@ hook global BufCreate .*[.](rust|rs) %{
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
add-highlighter -group / regions -default code rust \
|
add-highlighter -group / regions -default code rust \
|
||||||
string '"' (?<!\\)(\\\\)*" '' \
|
string %{(?<!')"} (?<!\\)(\\\\)*" '' \
|
||||||
comment // $ '' \
|
comment // $ '' \
|
||||||
comment /\* \*/ /\*
|
comment /\* \*/ /\*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user