Open aberent opened 2 years ago
If I have the following code in a file:
bad xs = [x|x <- xs] good xs = [ x | x <- xs]
the syntax highlighting gives up after the first '[x'.
If I remove or comment out 'bad' then it highlights correctly.
Presumably related to TemplateHaskell using the [quoter| ...|] syntax. You should prefer the good syntax above for list comprehensions.
[quoter| ...|]
good
If I have the following code in a file:
the syntax highlighting gives up after the first '[x'.
If I remove or comment out 'bad' then it highlights correctly.