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

Not working in web files such as html? #27

Closed
c02y opened this issue Nov 10, 2016 · 1 comment
Closed

Not working in web files such as html? #27

c02y opened this issue Nov 10, 2016 · 1 comment
Labels

Comments

@c02y
Copy link

c02y commented Nov 10, 2016

https://emacs.stackexchange.com/questions/17183/is-there-a-plugin-that-does-color-html-matching-tags-like-rainbow-delimiters

@Fanael
Copy link
Owner

Fanael commented Nov 10, 2016

I'm not sure what the problem is supposed to be. rainbow-delimiters doesn't highlight HTML tags because that's not what it's for.

It should be possible to highlight HTML tag pairs, but that requires some help from the major mode (especially considering void elements and optional closing tags) – and I don't want any major-mode specific code in rainbow-delimiters, so it'd have to be a separate package.

If there's a generic way to find the bounds of some generic block (e.g. a pair of parentheses, begin..end (compare #20) or a pair of HTML tags), I'm not aware of it.

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

No branches or pull requests

2 participants