aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query
diff options
context:
space:
mode:
authorCaleb White <cdwhite3@pm.me>2024-05-02 11:43:02 -0500
committerAmaan Qureshi <amaanq12@gmail.com>2024-05-14 00:05:03 -0400
commit6f54846f2b269c40091895277095dd10b365fca7 (patch)
treebac9b34bea83ddf26440d35055104730fd8718d1 /tests/query
parentfeat(zig): misc improvements (diff)
downloadnvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.tar
nvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.tar.gz
nvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.tar.bz2
nvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.tar.lz
nvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.tar.xz
nvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.tar.zst
nvim-treesitter-6f54846f2b269c40091895277095dd10b365fca7.zip
feat(php): add highlights for scoped_property_access
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/php/variables.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/query/highlights/php/variables.php b/tests/query/highlights/php/variables.php
index f6477e131..7d6c6241e 100644
--- a/tests/query/highlights/php/variables.php
+++ b/tests/query/highlights/php/variables.php
@@ -23,5 +23,8 @@ class A {
// ^^^ @variable.member
$this->foo(a: 5);
// ^ @variable.parameter
+ A::$foo::$bar;
+// ^^^ @variable.member
+// ^^^ @variable.member
}
}