We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
When a Haskell code block contains the ': operator, chroma erroneously highlights everything after the ' character. For example, in this block:
':
'
sample :: Proxy (Int ': [])
The last 5 characters of the line - : []) - get incorrectly highlighted.
: [])
To Reproduce
This can be seen in the Chroma Playground here: https://swapoff.org/chroma/playground/#eyJsYW5ndWFnZSI6Ikhhc2tlbGwiLCJzdHlsZSI6Im1vbm9rYWlsaWdodCIsInRleHQiOiJzYW1wbGUgOjogUHJveHkgKEludCAnOiBbXSkiLCJjbGFzc2VzIjpmYWxzZX0
Here is the same snippet rendered in Pygments without the issue: https://pygments.org/demo/?lexer=haskell&style=monokai&formatter=html&code=sample+%3A%3A+Proxy+%28Int+%27%3A+%5B%5D%29
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When a Haskell code block contains the
':
operator, chroma erroneously highlights everything after the'
character. For example, in this block:The last 5 characters of the line -
: [])
- get incorrectly highlighted.To Reproduce
This can be seen in the Chroma Playground here: https://swapoff.org/chroma/playground/#eyJsYW5ndWFnZSI6Ikhhc2tlbGwiLCJzdHlsZSI6Im1vbm9rYWlsaWdodCIsInRleHQiOiJzYW1wbGUgOjogUHJveHkgKEludCAnOiBbXSkiLCJjbGFzc2VzIjpmYWxzZX0
Here is the same snippet rendered in Pygments without the issue: https://pygments.org/demo/?lexer=haskell&style=monokai&formatter=html&code=sample+%3A%3A+Proxy+%28Int+%27%3A+%5B%5D%29
The text was updated successfully, but these errors were encountered: