aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/php/keywords.php
diff options
context:
space:
mode:
authorCaleb White <cdwhite3@pm.me>2025-02-26 08:36:24 -0600
committerChristian Clason <ch.clason+github@icloud.com>2025-02-26 17:01:57 +0100
commit081a99b3bed1f5050610d08870c71409b878c3c3 (patch)
tree24af0f07d7523833ba61ce6e9b26d68ba69f4617 /tests/query/highlights/php/keywords.php
parentfeat(markdown): completely conceal codeblock fences on nightly (diff)
downloadnvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.tar
nvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.tar.gz
nvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.tar.bz2
nvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.tar.lz
nvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.tar.xz
nvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.tar.zst
nvim-treesitter-081a99b3bed1f5050610d08870c71409b878c3c3.zip
feat(php): add support for new relative_name node
Diffstat (limited to 'tests/query/highlights/php/keywords.php')
-rw-r--r--tests/query/highlights/php/keywords.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/query/highlights/php/keywords.php b/tests/query/highlights/php/keywords.php
index 5504cab19..21d248e69 100644
--- a/tests/query/highlights/php/keywords.php
+++ b/tests/query/highlights/php/keywords.php
@@ -2,49 +2,22 @@
namespace Foo\Bar;
//^^^^^^^ @keyword.type
-// ^^^ @module
-// ^^^ @module
use Foo\Baz as Baaz;
//^ @keyword.import
-// ^^^ @module
-// ^^^ @type
// ^^ @keyword.operator
-// ^^^^ @type.definition
-
-use Foo\Baz\{Foo, Bar};
-// ^^^ @type
-// ^^^ @type
use function Foo\foo as fooo;
// ^^^^^^^^ @keyword.function
-// ^^^ @function
-// ^^^^ @function
-
-use function Foo\{bar, baz};
-// ^^^ @function
-// ^^^ @function
use const Foo\FOO as FOOO;
// ^^^^^ @keyword.modifier
-// ^^^ @constant
-// ^^^^ @constant
-
-use const Foo\{FOO, BAR};
-// ^^^ @constant
-// ^^^ @constant
use Foo\Baz\{
-// ^^^ @module
-// ^^^ @module
- Bar,
-//^^^ @type
function foo,
//^^^^^^^^ @keyword.function
-// ^^^ @function
const FOO,
//^^^^^ @keyword.modifier
-// ^^^ @constant
};
abstract class A