Sublime Forum

Indentation with 'if' statement and :: scope resolution operator is different

#1

I am noticing an unusual behavior with auto indention and IF statements:
Language: PHP

If I include the scope resolution operator :: in an IF statement, the indentation below is increased by one step.
(I always place curly braces on a separate line)

How can I fix this?

Thank you!

0 Likes

#2

I believe my PR here should fix this

1 Like

#3

Thanks @kingkeith - hopefully they will merge this soon and I can update.

0 Likes