Closed MaicoTimmerman closed 4 years ago
Will this be merged any time soon ? I find indentation to not be working properly for template files when I do gg=G
@Herz3h can you send me an example file?
here is an example:
{% for test in test %}
{% if test is defined %}
test is defined
{% else %}
{% for subtest in test %}
<div>{{ subtest.value }}</div>
{% endfor %}
{% endif %}
{% endfor %}
@Herz3h thanks! I manually merged this pull request after I verified the issue and fix.
Thank you, will check this tomorrow at work 👍
I have tested it, it works fine. Only weird thing is that when I set filetype to jinja, every word is syntax highlighted as red..is this normal ?
was that happening before? do you have other configs going on?
I was using vim plmolyglot for the twig syntax highlighting before, now that I use this plugin, everything is red colored
works ok for me on an install with no other plugins enabled. we'll see if other folks have issues
Code from Steve Losh steve@stevelosh.com.
This combined the highlighting of this nice plugin with the perfect autoindenting. This gives '=' the ability to create perfect indented code.