Sublime Forum

PHP syntax for if( ): else: endif;

#1

Hello,

I am using sublime text 3, and I would like to ask why is it t that when i use:

if( condition ) : else: endif;

the else has no syntax color.

i am really bothered with this, the color for ’ else:’ remains white when using the if else with no bracket. I tried installing some packages and it doesn’t solve the issue.

Thanks for your time.

0 Likes

#2

this was fixed in the syntax definitions repo about 7 months ago, and will be included in the next build

0 Likes

#3

thanks mate, totally works now.

0 Likes