improved haskell comment regex
This commit is contained in:
parent
54674fd4bf
commit
129424daea
|
@ -13,7 +13,7 @@ hook global BufCreate .*[.](hs) %{
|
|||
|
||||
add-highlighter -group / regions -default code haskell \
|
||||
string '"' (?<!\\)(\\\\)*" '' \
|
||||
comment (--) $ '' \
|
||||
comment (--[^>]) $ '' \
|
||||
comment \{- -\} \{- \
|
||||
macro ^\h*?\K# (?<!\\)\n ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user