I’m trying to change the way sublime text indent if else conditions in html. Here’s what i try to do
Any ideas on how to make this work ?
I’m trying to change the way sublime text indent if else conditions in html. Here’s what i try to do
Any ideas on how to make this work ?
It looks like the indentation rules on the master branch should work as you expect - you could try copying the tmPreferences from there.
(though I notice else
without if
isn’t tested, so I could be wrong. I may make a pull request to correct that when I get some spare time )
To answer your concrete problem, iirc unindentedLinePattern means for lines that match the regex, leave the indentation for that line alone.
Sorry, not at a computer right now to be more helpful