aboutsummaryrefslogtreecommitdiffstats
path: root/queries/php
diff options
context:
space:
mode:
Diffstat (limited to 'queries/php')
-rw-r--r--queries/php/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm
index 16f478465..444cc417c 100644
--- a/queries/php/highlights.scm
+++ b/queries/php/highlights.scm
@@ -103,6 +103,9 @@
(namespace_definition
name: (namespace_name) @namespace)
+; Attributes
+(attribute_list) @attribute
+
; Conditions ( ? : )
(conditional_expression) @conditional
; Basic tokens
@@ -222,6 +225,7 @@
"]"
"{"
"}"
+ "#["
] @punctuation.bracket
[