jwalton512 / vim-blade

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

Further enhancements to PHP indentation #51

Closed adriaanzon closed 8 years ago

adriaanzon commented 8 years ago

I simplified the indentation rule for detecting <?php. It seems to work better now when there's a <?php block at the beginning of a file.

searchpair() now skips matches that are inside a string or comment.

I also removed the unneeded conditional i mentioned here.

adriaanzon commented 8 years ago

The check for a string or comment seems really slow if you try to indent larger files.

Edit: I removed that commit for now.

jwalton512 commented 8 years ago

Thanks!