aboutsummaryrefslogtreecommitdiffstats
path: root/queries/phpdoc
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-09-26 15:06:46 +0200
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-09-26 15:06:46 +0200
commitfd46c9fa03cf4870b535ec3a7b8a7e87d5586015 (patch)
tree499ea3735dda27d22170ac005d9b4d2b87f9031f /queries/phpdoc
parentb2ea5bb4976ad786a104d5539d47645ddef237a9 (diff)
downloadnvim-conf-fd46c9fa03cf4870b535ec3a7b8a7e87d5586015.tar.gz
nvim-conf-fd46c9fa03cf4870b535ec3a7b8a7e87d5586015.zip
Treesitter fix injections
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
+)