Skip to content
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

Question/Feature: Ignore less then, more than symbols (<>). #66

Closed
BuddhiLW opened this issue Nov 13, 2021 · 3 comments
Closed

Question/Feature: Ignore less then, more than symbols (<>). #66

BuddhiLW opened this issue Nov 13, 2021 · 3 comments

Comments

@BuddhiLW
Copy link

More often than not, when I'm using rainbow mode in org-files, the symbols <, >, mess up my file font locking.

Is there a way to configure so that rainbow-mode does not try to match these, or ignore them?

@Fanael
Copy link
Owner

Fanael commented Nov 13, 2021

rainbow-delimiters intentionally has no logic that determines what characters are delimiters, that's provided by the major mode in the form of a syntax table. If the major mode indicates that < and > are paired delimiters, even though that's not necessarily true, it's a bug in that major mode and affects all consumers of syntax table data, not just rainbow-delimiters.

An alternative solution to fix it within rainbow-delimiters would be #1, but getting that PR into a remotely usable form is… difficult.

@Fanael Fanael closed this as completed Nov 13, 2021
@Fanael Fanael added invalid and removed invalid labels Nov 13, 2021
@roiholtzman
Copy link

Just making sure: at this point, there is no way to remove the delimiters < and > for rainbow-delimiters specifically, right?

@Fanael
Copy link
Owner

Fanael commented Jan 5, 2023

Right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants