diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-12-24 12:52:21 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-19 16:58:37 +0100 |
| commit | 10dd49958c96f86c8247c715bd20a6681afc1d8b (patch) | |
| tree | 511849caff160e818f4dd08a6106137dcadb620d /tests/query/highlights/hack/use.hack | |
| parent | feat(injections): add printf format strings (diff) | |
| download | nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.gz nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.bz2 nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.lz nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.xz nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.zst nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.zip | |
chore(tests): consistent captures
Diffstat (limited to 'tests/query/highlights/hack/use.hack')
| -rw-r--r-- | tests/query/highlights/hack/use.hack | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/query/highlights/hack/use.hack b/tests/query/highlights/hack/use.hack index d7b7ce784..353838a18 100644 --- a/tests/query/highlights/hack/use.hack +++ b/tests/query/highlights/hack/use.hack @@ -1,28 +1,28 @@ use const Space\Const\C; -// ^ keyword -// ^ constant +// ^ @keyword +// ^ @constant use function Space\Func\F as E; -// ^ function -// ^ function +// ^ @function +// ^ @function use type Space\Type\T; -// ^ keyword +// ^ @keyword use namespace Space\Name\N as M; -// ^ keyword -// ^ namespace +// ^ @keyword +// ^ @namespace use namespace Space\Name2\N2, Space\Nothing\N3 as N8, type Space\Type2\N4,; -// ^ namespace -// ^ type +// ^ @namespace +// ^ @type use namespace Space\Name\N10\{A as A2, B\}; -// ^ namespace -// ^ namespace -// ^ namespace +// ^ @namespace +// ^ @namespace +// ^ @namespace use namespace Space\Name\{\C, Slash as Forward}; use \What\Is\This\{function A as A2, B, const H\S\L as stdlib, function F}; use type \{kind,}; use Q\B\{kind2,}; -// ^ namespace +// ^ @namespace use type Q\B\{kind3,}; -// <- include +// <- @include |
