-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
The Scheme highlighter currently colors square parentheses as errors #3089
Comments
Apparently, some Scheme implementations permit using brackets instead of parentheses. Found this in a Scheme FAQ:
|
This issue was already reported upstream (textmate/scheme.tmbundle#9). If they drop support for R6RS (which considers brackets as synonymous of parentheses), please reopen an issue (or this issue) and we'll discuss alternatives (and how to detect R6RS files in Linguist). |
@pchaigno Can we reopen this? Despite some effort textmate/scheme.tmbundle#9 has never been pulled. |
@soegaard Do you have an alternate grammar we could use for highlighting? |
Two options:
I prefer 2., but note that I am not impartial (I wrote the Racket grammar [1]). The current grammar used for Racket is [1]: PS: While looking up the Racket grammar, I see the problem originates from 2014 |
Hi. sorawee and I have made an alternate grammar. Here is an example wherein you can see that square brackets are now colored normally. /Jens Axel |
@soegaard Great! Could you open a pull request to change the grammar? See the appropriate contribution guidelines. I can help if needed. |
Here is an example of the undesired behaviour. I'm pretty sure that we would all be better off if you switched to the Racket-highlighter.
The text was updated successfully, but these errors were encountered: