aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/phpdoc/highlights.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index 418853813..3ebe4a66e 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -23,6 +23,13 @@
(parameter
(variable_name) @variable.parameter)
+[
+ (array_type)
+ (primitive_type)
+ (named_type)
+ (optional_type)
+] @type
+
(union_type
[
(array_type)