-
Notifications
You must be signed in to change notification settings - Fork 34
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
Incorrect highlighting with ?[ #5
Comments
Ah, I didn't know. As mentioned in that issue, indentation is also completely broken for this code snippet. I don't think I've written bracket literals without backslashes as paredit doesn't let you (AFAIK). However, I do encounter it fairly commonly. Emacs itself includes this style fairly frequently:
As a result, I didn't even find out this style was officially unsupported until jlr/rainbow-delimiters#15! |
Yep, I made the same mistake myself in some code I wrote a few years ago, and only discovered it when I found |
Yeah. Think about it: not even emacs-lisp-mode gets it right. How is a major-mode-agnostic minor mode supposed to get it right? As mentioned in #4, the only viable solutions I see are:
Closing as won't fix.
Faster? The rest is spot on, but faster? Probably not. 30c6a4c reduced the performance¹ by quite a lot and all further changes are barely able to recoup that loss.
|
Related to jlr/rainbow-delimiters#15 I suspect. Again, it's not recommended elisp style, but it would be nice for rainbow-delimeters to handle this corner case.
Highlighting ends up looking like this:
The text was updated successfully, but these errors were encountered: