django-plus.vim icon indicating copy to clipboard operation
django-plus.vim copied to clipboard

indentation not working

Open D1mon opened this issue 7 years ago • 1 comments

{% extends "base.html" %} {% load static %} {% load cache %} {% block content %} {% cache 500 product_list %}                                     
<div class="container">                                                                                                                                
  <ul>                                                                                                                                                 
    {% for product in object_list %}                                                                                                                   
    <li><a href="{% url 'product_detail' product.id %}">{{ product.title }}</a></li>                                                                   
    {% endfor %}                                                                                                                                       
  </ul>                                                                                                                                                
</div>                                                                                                                                                 
{% endcache %} {% endblock %}

all the blocks are lined up in one line, and also it is necessary that the li tag has an indent

D1mon avatar Mar 18 '18 19:03 D1mon

Not experiencing this. But in my case, the HTML indentation is handled by this plugin: https://github.com/othree/html5.vim

I tried it with the default $VIMRUNTIME/indent/html.vim and it still worked fine. You might have another plugin that took over indentation.

tweekmonster avatar Aug 31 '18 14:08 tweekmonster