Closed adriaanzon closed 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.
<?php
searchpair() now skips matches that are inside a string or comment.
searchpair()
I also removed the unneeded conditional i mentioned here.
The check for a string or comment seems really slow if you try to indent larger files.
Edit: I removed that commit for now.
Thanks!
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.