aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--lockfile.json2
-rw-r--r--queries/phpdoc/highlights.scm6
2 files changed, 4 insertions, 4 deletions
diff --git a/lockfile.json b/lockfile.json
index 50ca6113a..fe80671aa 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -453,7 +453,7 @@
"revision": "e3002a11a72773bbaf3bab0e59fb64e6992b79ab"
},
"phpdoc": {
- "revision": "eb9ef97a1a9a6489d003a45a36a9edbcc8177087"
+ "revision": "67db260cf4e99a02283ae26b808d59b86d42dc0f"
},
"pioasm": {
"revision": "924aadaf5dea2a6074d72027b064f939acf32e20"
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