-
Notifications
You must be signed in to change notification settings - Fork 642
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
Bad syntax highlighting of .lidr files #4799
Comments
In any case, the two disagree about the meaning of source positions! The first place to check is whether the output from Idris is in fact correct. If not, it's probably source positions in the parser after the delit stage for lidr files. If so, then the Emacs mode probably has an obsolete hack that needs removing - see the highlight buffer on load bit. |
David, I am afraid I do not understand any single bit of your comment. I guess this is fine, I am an Idris user, not a developer. I just would like to get a decent syntax highlighting in literate Idris files. This is what I use both for program development and for presentations. Cheers, Nicola |
@nicolabotta, I closed #4478 in idris-dev since it was an issue with idris-mode and not the idris compiler/ide interface. Check in idris-hackers/idris-mode#480 for more help. Apparently I had a configuration issue back then but it could have been a regression in your case. |
@fabianhjr: Thanks for your feedback Fabian! There seem to be two problems with the current idris-mode: first, the function
needs to be modified as suggested by andrewmcveigh in idris-hackers/idris-mode#480 as
Second, the file in which this function is defined, |
In idris-mode, syntax highlighting works fine on .idr files but on .lidr files (Bird style), I get something like this:
At idris-hackers/idris-mode#506 (comment),
@david-christiansen suggests that this might be an Idris bug. Any idea how to fix the problem? Thanks, Nicola
The text was updated successfully, but these errors were encountered: