aboutsummaryrefslogtreecommitdiffstats
path: root/queries/phpdoc
diff options
context:
space:
mode:
Diffstat (limited to 'queries/phpdoc')
-rw-r--r--queries/phpdoc/highlights.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index 047ee3aa8..b0433da9f 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -34,9 +34,9 @@
(email_address) @text.uri
)
-[
- "$"
- ">"
- "<"
- "|"
-]@keyword
+(type_list "|" @keyword)
+(variable_name "$" @keyword)
+(tag
+ (tag_name) @_tag_name
+ ["<" ">"] @keyword
+ (#eq? @_tag_name "@author"))