Merge remote-tracking branch 'omar-polo/master'

This commit is contained in:
Maxime Coste 2017-02-22 09:43:03 +00:00
commit 964252d396

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