aboutsummaryrefslogtreecommitdiffstats
path: root/queries/phpdoc
diff options
context:
space:
mode:
Diffstat (limited to 'queries/phpdoc')
-rw-r--r--queries/phpdoc/highlights.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
new file mode 100644
index 0000000..ff014dc
--- /dev/null
+++ b/queries/phpdoc/highlights.scm
@@ -0,0 +1,10 @@
+;;extends
+
+(tag
+ (type_list
+ (named_type
+ (name) @typeName (#eq? @typeName "Promise")
+ )
+ )
+ (description) @type
+)