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
A class without any associated functions, e.g. just class A a, is valid Haskell, but gets highlighted incorrectly, as does everything following it.
class A a
Correct highlighting of non-empty class:
Incorrect highlighting of empty class:
The text was updated successfully, but these errors were encountered:
I just encountered this issue, and it's pretty annoying, due to its ability to wipe out highlighting for an entire file.
The bug appears to affect everything up until the next where, after which it returns to normal.
where
Notably, this only happens for class declarations and not instance declarations.
Sorry, something went wrong.
Hmm ... I guess for the time being you can just add the where. For empty type class (instances) it is optional
Note to self: This issue may be fixable, by amending endCaptures to not only trigger on where but also a non-empty, unindented line
endCaptures
9be5803
No branches or pull requests
A class without any associated functions, e.g. just
class A a
, is valid Haskell, but gets highlighted incorrectly, as does everything following it.Correct highlighting of non-empty class:
Incorrect highlighting of empty class:
The text was updated successfully, but these errors were encountered: