apply '"' highlighting fix to haskell as well

This commit is contained in:
Dianne Wagner 2017-06-18 19:16:54 -07:00
parent 3ae0d86b27
commit 57cb2d0682

View File

@ -12,10 +12,10 @@ hook global BufCreate .*[.](hs) %{
# ‾‾‾‾‾‾‾‾‾‾‾‾
add-highlighter -group / regions -default code haskell \
string '"' (?<!\\)(\\\\)*" '' \
comment (--[^>]) $ '' \
comment \{- -\} \{- \
macro ^\h*?\K# (?<!\\)\n ''
string %{(?<!')"} (?<!\\)(\\\\)*" '' \
comment (--[^>]) $ '' \
comment \{- -\} \{- \
macro ^\h*?\K# (?<!\\)\n ''
add-highlighter -group /haskell/string fill string
add-highlighter -group /haskell/comment fill comment