Skip to content

Instantly share code, notes, and snippets.

@ChillarAnand
Last active August 29, 2015 14:19
Show Gist options
  • Save ChillarAnand/dcf611057e561fe95dde to your computer and use it in GitHub Desktop.
Save ChillarAnand/dcf611057e561fe95dde to your computer and use it in GitHub Desktop.
web-mode-indent
{% block js %}
<script>
(function(){
$( '.filter' ).parent().append(glyphicon);
$( '#filter-data' ).click(function() {
$( "#sidebar" ).toggle( "blind", {direction: 'left'} );
$( "#icon" ).toggle( "blind", {direction: 'left'} );
});
$( '.filter' ).parent().append(glyphicon);
})();
</script>
{% endblock %}
<div>
<!-- sidebar -->
<div class="col-xs-3 col-sm-3" id="sidebar" role="navigation">
<button class="btn btn-primary">Submit</button> <br />
</div>
<button class="btn btn-primary">Submit</button> <br />
<a href="">as</a>
</div>
the file below is not properly indented.
fold the div(id=sidebar) and try to indent the buffer.
it wont indent button & a elements.
instead it is mis indenting div(id=sidebar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment