-
Notifications
You must be signed in to change notification settings - Fork 14
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
Characters appearing at the end of some commands #16
Comments
Cannot reproduce. Pinging @misode for more info... |
I have a Windows OS. The issue appears for me in some mcfunction files on the GitHub site. |
At some point - probably as a side-effect of an earlier fix - I must have fixed the trailing arguments being highlighted as errors, but the
It looks like people might be committing files with CRLF and then GitHub decides to force-highlight the carriage returns. We'll see how the next Linguist update handles the affected files and re-open if it's clear there's more to be done here. |
An update, for posterity: GitHub Linguist has been updated, and is now running v0.13.0 of language-mcfunction. As expected, the trailing arguments are being highlighted properly but the Like I mentioned in my last comment, I'm not confident that this is a problem with the grammar itself but instead that people are committing carriage returns to mcfunction files. It may be the grammar's fault that these characters are being highlighted, but after some testing (via github-lightshow) I was unable to remove these characters by any means. Until I have more definitive information about the problem and/or people reporting it, I'm going to work under the assumption that this is out of the grammar's control. |
Re-opening because this is still a problem and it's probably something that can be fixed with some effort. |
I should really create a new issue for this. |
(See #32 for a new report focused on the line-endings specifically.) |
The text was updated successfully, but these errors were encountered: