Skip to content

Commit 85c0279

Browse files
authored
Highlight "with" as a contextual keyword
This is used in with-refinements https://docs.hhvm.com/hack/types/with-refinement
1 parent 343e45f commit 85c0279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hack-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ If PROPERTIZE-TAGS is non-nil, apply `hack-xhp-tag' to tag names."
619619
"tuple"
620620
"type"
621621
"where"
622+
"with"
622623

623624
;; These contextual keywords are also used for literals, so highlight them as keywords.
624625
"darray"

0 commit comments

Comments
 (0)