-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
{-# SCC "Specialise" #-} messes up the color of text after it #195
Comments
Thanks for the bug report. I think the rule for SPECIALI(S|Z)E should check that it is preceded by a space and not just a word boundary. |
Thanks. Seems like a fairly small fix, which I would often do myself, but I didn't find any instructions for running tests in this repo, and the tests don't work for me, with some unhelpful error messages:
This prevents me from validating my changes. Some instructions in README would be helpful. |
Hmm, sorry about that. What happens if you run: npx vscode-tmgrammar-test "-s" "source.haskell" "-g" "/home/zliu41/language-haskell/syntaxes/haskell.json" "-t" "/home/zliu41/language-haskell/test/tests/ADTs.hs" Thanks for taking the time to help, I appreciate it. |
By the way, to change the syntax grammar you should be editing the |
The text was updated successfully, but these errors were encountered: