@@ -196,12 +196,9 @@ renderPair source@(Source sourceLines) region1 region2 =
200− | Keyword [Char]
199+ = Keyword [Char]
201 | Operator [Char]
200 | Operator [Char]
202− | CloseParen
201+ | Close [Char] Char
@@ -226,11 +223,9 @@ whatIsNext (Source sourceLines) row col =
226 Operator op
223 Operator op
229− | null chars -> Spaces
230− | isNext ' ' chars -> Spaces
226+ | isNext ')' chars -> Close "parenthesis" ')'
231− | isNext ')' chars -> CloseParen
232− | isNext ']' chars -> CloseSquare
227+ | isNext ']' chars -> Close "square bracket" ']'
233− | isNext '}' chars -> CloseCurly
228+ | isNext '}' chars -> Close "curly brace" '}'
234 | otherwise -> Other
229 | otherwise -> Other