mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50: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,18 +1,18 @@
|
|||
pub fn run() {
|
||||
1
|
||||
// <- number
|
||||
// <- @number
|
||||
|> add(_, 2)
|
||||
// <- operator
|
||||
// ^^^ function.call
|
||||
// ^ punctuation.bracket
|
||||
// ^ comment
|
||||
// ^ punctuation.delimiter
|
||||
// ^ number
|
||||
// ^ punctuation.bracket
|
||||
// <- @operator
|
||||
// ^^^ @function.call
|
||||
// ^ @punctuation.bracket
|
||||
// ^ @comment
|
||||
// ^ @punctuation.delimiter
|
||||
// ^ @number
|
||||
// ^ @punctuation.bracket
|
||||
|> add(3)
|
||||
// <- operator
|
||||
// ^^^ function.call
|
||||
// ^ punctuation.bracket
|
||||
// ^ number
|
||||
// ^ punctuation.bracket
|
||||
// <- @operator
|
||||
// ^^^ @function.call
|
||||
// ^ @punctuation.bracket
|
||||
// ^ @number
|
||||
// ^ @punctuation.bracket
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue