Open radimsuckr opened 6 years ago
can you please provide a minimal complete example file which can reproduce your problem?
The minimal example is as simple as {% extends "base.html" %}
, which results into following screenshot.
you can simply disable rainbow for this filetype. Or if you know about RegExp in Vim, you can define your parentheses for htmldjango files yourself (maybe you will need zero-width matching).
Yeah, disabling it is an option, but I was hoping that maybe it'd be possible to have HTML rainbow parentheses combined with Django tags.
Describe the bug
Rainbow parentheses breaks the Django tags highlighting.
To Reproduce
Open any HTML file with Django template tags and make sure the filetype is set to
htmldjango
.Expected behavior
Disable rainbow parentheses for Django tags completely as nested parentheses don't occur in them.
Screenshots
Additional context
Syntax highlighting works as expected when I explicitly turn off rainbow parentheses for given buffer.