aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgbprod <contact@gb-prod.fr>2022-11-29 11:27:04 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-11-29 12:19:19 +0100
commit31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe (patch)
tree233ef57ccbf5573c631ec46d9da9d7883a73c925
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.tar
nvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.tar.gz
nvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.tar.bz2
nvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.tar.lz
nvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.tar.xz
nvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.tar.zst
nvim-treesitter-31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe.zip
fix(phpdoc): highlight optional type as @type
-rw-r--r--queries/phpdoc/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index e0624365d..5cb3dba06 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -22,6 +22,7 @@
(array_type)
(primitive_type)
(named_type)
+ (optional_type)
] @type)
(tag
(description (text) @text))