atom-haskell/language-haskell

Syntax coloring in list comprehension expressions

Closed this issue · 1 comments

Syntax coloring for list comprehension expressions is not working properly if there is a single entry in the expression part without any other characters like spaces or brackets.

Example: head ([x|(x,y) <- zip [0..] $ map (fib) [0..], n==y || y > n])

Coloring stops after x|

If a space or other characters are added coloring works again correctly.

Example: head ([ x |(x,y) <- zip [0..] $ map (fib) [0..], n==y || y > n]) is colored correctly.