Last active
August 29, 2015 14:19
-
-
Save ChillarAnand/dcf611057e561fe95dde to your computer and use it in GitHub Desktop.
web-mode-indent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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 %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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