jwalton512 / vim-blade

Vim syntax highlighting for Blade templates.
225 stars 37 forks source link

HTML tag indented after ?> #16

Closed tremby closed 10 years ago

tremby commented 10 years ago

In this one, it doesn't matter if line 4 exists or not. If line 5 is not indented it highlights properly. It seems the problem occurs when the <?php ?> block exists and the next HTML is indented, whether or not there is a blade line between them.

<?php
$var = rand();
?>
@if ($test)
    <div>
        {{{ $var }}}
    </div>
@endif

screen shot 2014-03-11 at 1 34 23 pm

tremby commented 10 years ago

Excellent -- thanks!