Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHP] Else: statement is still white. #598

Closed
ghost opened this issue Aug 23, 2016 · 6 comments
Closed

[PHP] Else: statement is still white. #598

ghost opened this issue Aug 23, 2016 · 6 comments
Labels
T: bug A bug in an existing language feature

Comments

@ghost
Copy link

ghost commented Aug 23, 2016

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

@kleinfreund
Copy link
Contributor

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

@ghost
Copy link
Author

ghost commented Aug 23, 2016

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

simple

if ():
else:
endif;

always makes else: white.

@michaelblyons
Copy link
Collaborator

The language in question is apparently PHP.

@kleinfreund
Copy link
Contributor

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.

@ghost
Copy link
Author

ghost commented Aug 23, 2016

understood.
just write

if (true):
else:
endif;

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

@wbond wbond changed the title Else: statement is still white. [PHP] Else: statement is still white. Aug 26, 2016
@wbond wbond added the T: bug A bug in an existing language feature label Aug 26, 2016
@wbond
Copy link
Member

wbond commented Sep 21, 2016

This is resolved by a08945a

@wbond wbond closed this as completed Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug A bug in an existing language feature
Projects
None yet
Development

No branches or pull requests

3 participants