aboutsummaryrefslogtreecommitdiffstats
path: root/queries/phpdoc
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2024-01-10 18:05:37 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-01-19 16:58:37 +0100
commitfa38f4e6f94b4e67fb80af21178dba3b422efb12 (patch)
treef28ad35e6a65f177f33c10091175fb75549f2d8c /queries/phpdoc
parentfix(highlights): improve consistency (diff)
downloadnvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.tar
nvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.tar.gz
nvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.tar.bz2
nvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.tar.lz
nvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.tar.xz
nvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.tar.zst
nvim-treesitter-fa38f4e6f94b4e67fb80af21178dba3b422efb12.zip
fix(highlights): improve member/property distinction
Diffstat (limited to 'queries/phpdoc')
-rw-r--r--queries/phpdoc/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index 076a7d528..5e96e93cc 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -8,7 +8,7 @@
(tag
(tag_name) @_tag
(#eq? @_tag "@property")
- (variable_name) @property)
+ (variable_name) @variable.member)
(tag
(tag_name) @_tag