Packages: [PHP] Else: statement is still white.

Created on 23 Aug 2016  路  6Comments  路  Source: sublimehq/Packages

The "else:" statement when use (if (): endif;) operator is still white, but must be red. Fix it please.
https://i.gyazo.com/28f3b57931bbc97039bde24dcd6c8f85.png

bug

Most helpful comment

Please include the code snippet from that image as actual text as it鈥檚 hard for others to reproduce the behavior in their Sublime versions otherwise.

All 6 comments

Please include the code snippet from that image as actual text as it鈥檚 hard for others to reproduce the behavior in their Sublime versions otherwise.

just see the screenshot if you're not a bot.

simple

if ():
else:
endif;

always makes else: white.

The language in question is apparently PHP.

just see the screenshot if you're not a bot.

No matter if I'm a bot or not, I can't copy from an image that easily.

understood.
just write

if (true):
else:
endif;

and see that the else becomes white.
thanks for your attention!

This is resolved by a08945a

Was this page helpful?
0 / 5 - 0 ratings