nanch / phpfmt_stable

This is a stable snapshot (version 6125cf9) of the phpfmt plugin for Sublime Text
143 stars 34 forks source link

indent after <?php #57

Open InflamedSebi opened 5 years ago

InflamedSebi commented 5 years ago
<?php
for ($i = 0; $i < 10; $i++) {
  if ($i%2 == 0) {
    echo "Flipflop";
  }
}

should be formatted to

<?php
  for ($i = 0; $i < 10; $i++) {
    if ($i%2 == 0) {
      echo "Flipflop";
    }
  }

Is there any option to keep a single indentation after the php tag?