mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -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,19 +1,19 @@
|
|||
bring cloud;
|
||||
// <- keyword
|
||||
// <- @keyword
|
||||
|
||||
class Foo {
|
||||
// <- keyword
|
||||
// ^ variable
|
||||
// ^ punctuation.bracket
|
||||
// <- @keyword
|
||||
// ^ @variable
|
||||
// ^ @punctuation.bracket
|
||||
name: str;
|
||||
//^ field
|
||||
// ^ type.builtin
|
||||
// ^ punctuation.delimiter
|
||||
//^ @field
|
||||
// ^ @type.builtin
|
||||
// ^ @punctuation.delimiter
|
||||
new(name: str) {
|
||||
//^ keyword
|
||||
// ^ variable
|
||||
//^ @keyword
|
||||
// ^ @variable
|
||||
this.name = name;
|
||||
// ^ punctuation.delimiter
|
||||
// ^ operator
|
||||
// ^ @punctuation.delimiter
|
||||
// ^ @operator
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
test1.test2.test3();
|
||||
// <- variable
|
||||
// ^ property
|
||||
// ^ method.call
|
||||
// <- @variable
|
||||
// ^ @property
|
||||
// ^ @method.call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue