Skip to content

Add nameof keyword highlighting support#166

Merged
muglug merged 1 commit intoslackhq:masterfrom
mszabo-wikia:nameof-support
Sep 25, 2025
Merged

Add nameof keyword highlighting support#166
muglug merged 1 commit intoslackhq:masterfrom
mszabo-wikia:nameof-support

Conversation

@mszabo-wikia
Copy link
Copy Markdown
Contributor

nameof is a replacement for using C::class in a string context.[1] Let's highlight it as a keyword.

[1] https://github.com/facebook/hhvm/blob/master/hphp/hack/manual/hack/03-expressions-and-operators/34-nameof.md

`nameof` is a replacement for using `C::class` in a string context.[1]
Let's highlight it as a keyword.

[1] https://github.com/facebook/hhvm/blob/master/hphp/hack/manual/hack/03-expressions-and-operators/34-nameof.md
@muglug muglug merged commit b518393 into slackhq:master Sep 25, 2025
1 check passed
@mszabo-wikia mszabo-wikia deleted the nameof-support branch September 25, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants