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/pascal | |
| 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/pascal')
| -rw-r--r-- | tests/query/highlights/pascal/test.pas | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/query/highlights/pascal/test.pas b/tests/query/highlights/pascal/test.pas index f60e8b40b..3a6cc786a 100644 --- a/tests/query/highlights/pascal/test.pas +++ b/tests/query/highlights/pascal/test.pas @@ -1,39 +1,39 @@ program foobar; -// ^ keyword +// ^ @keyword var -// <- keyword +// <- @keyword foo: bar; -// ^ variable -// ^ type +// ^ @variable +// ^ @type foo: foo.bar<t>; -// ^ variable -// ^ type -// ^ type -// ^ type +// ^ @variable +// ^ @type +// ^ @type +// ^ @type begin -// ^ keyword +// ^ @keyword foo := bar; -// ^ variable -// ^ variable +// ^ @variable +// ^ @variable foo; -// ^ function +// ^ @function foo(); -// ^ function +// ^ @function foo(bar(xyz)); -// ^ function -// ^ function -// ^ variable +// ^ @function +// ^ @function +// ^ @variable xx + yy; -// ^ variable -// ^ variable +// ^ @variable +// ^ @variable xx := y + z + func(a, b, c); -// ^ variable -// ^ variable -// ^ variable -// ^ function -// ^ variable -// ^ variable -// ^ variable +// ^ @variable +// ^ @variable +// ^ @variable +// ^ @function +// ^ @variable +// ^ @variable +// ^ @variable end. -// <- keyword +// <- @keyword |
