mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
chore(tests): consistent captures
This commit is contained in:
parent
17fae3f4a3
commit
10dd49958c
60 changed files with 872 additions and 873 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue