summaryrefslogtreecommitdiffstats
path: root/queries/phpdoc
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-01-25 09:33:02 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-01-25 09:47:20 +0100
commit22025469b56ff189b777f33ee0be1c13a42323d2 (patch)
treec205d16ab7e91d531f1a4ed6a2775dff96d949b2 /queries/phpdoc
parentfix(jsx): proper tag and builtin tag distinction (diff)
downloadnvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.tar
nvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.tar.gz
nvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.tar.bz2
nvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.tar.lz
nvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.tar.xz
nvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.tar.zst
nvim-treesitter-22025469b56ff189b777f33ee0be1c13a42323d2.zip
fix: bump phpdoc parser and query
Diffstat (limited to 'queries/phpdoc')
-rw-r--r--queries/phpdoc/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index 5e96e93cc..418853813 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -23,7 +23,7 @@
(parameter
(variable_name) @variable.parameter)
-(type_list
+(union_type
[
(array_type)
(primitive_type)
@@ -31,7 +31,7 @@
(optional_type)
] @type)
-(type_list) @nospell
+(union_type) @nospell
(variable_name) @nospell
@@ -48,7 +48,7 @@
(tag
(email_address) @string.special.url)
-(type_list
+(union_type
"|" @keyword)
(variable_name