aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/php/highlights.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm
index 037f05035..200025749 100644
--- a/queries/php/highlights.scm
+++ b/queries/php/highlights.scm
@@ -76,9 +76,17 @@
; Keywords
[
+ "as"
+] @keyword.operator
+
+[
+ "fn"
+ "function"
+] @keyword.function
+
+[
"$"
"abstract"
- "as"
"break"
"class"
"const"
@@ -89,7 +97,6 @@
"enddeclare"
"extends"
"final"
- "function"
"global"
"implements"
"insteadof"