Open horseinthesky opened 4 years ago
What's your expecting result? Do you just want to disable rainbow for this file type or you want rainbow to highlight the parentheses inside {% %}
or you want to highlight the tags outside the {% %}
?
What's your expecting result? Do you just want to disable rainbow for this file type or you want rainbow to highlight the parentheses inside
{% %}
or you want to highlight the tags outside the{% %}
?
Expecting result is certainly not breaking syntax highlighting.
I think the correct behavior is to highlight the parentheses inside {% %}
as it is the main idea of this plugin.
Describe the bug
When vim-rainbow plugin is active it breaks jinja2 highlighting done by vim-polyglot.
To Reproduce
Put
to your vimrc file.
Open
login.j2
file:Check filetype with
:set ft?
. It'll showfiletype=jinja2
.It will look like this:
Do
:RainbowToggle
.Now it will look like this: