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

Bad syntax highlighting of XHP class definitions #117

Open
Wilfred opened this issue May 12, 2021 · 1 comment
Open

Bad syntax highlighting of XHP class definitions #117

Wilfred opened this issue May 12, 2021 · 1 comment
Labels

Comments

@Wilfred
Copy link
Contributor

Wilfred commented May 12, 2021

class Foo {}

class bar {}

class :biz {}

Screenshot 2021-05-12 at 16 12 56

@fredemmott
Copy link
Contributor

As far as HHVM and Hack are concerned, this syntax only works if EnableXHPClassModifier and DisableXHPElementMangling are both changed from their defaults, but that is currently still supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants