mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -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,52 +1,52 @@
|
|||
(ns test {:clj-kondo/ignore true})
|
||||
; <- punctuation.bracket
|
||||
; ^ include
|
||||
; ^ namespace
|
||||
; <- @punctuation.bracket
|
||||
; ^ @include
|
||||
; ^ @namespace
|
||||
|
||||
; asdf
|
||||
;^^^^^^ comment
|
||||
;^^^^^^ @comment
|
||||
|
||||
#_ abc
|
||||
;^^^^^^ comment
|
||||
;^^^^^^ @comment
|
||||
|
||||
(func obj)
|
||||
;^^^^ function.call
|
||||
; ^^^ variable
|
||||
;^^^^ @function.call
|
||||
; ^^^ @variable
|
||||
|
||||
#(+ % %1 %&)
|
||||
;^ punctuation.special
|
||||
; ^ function.call
|
||||
; ^ ^^ ^^ variable.builtin
|
||||
;^ @punctuation.special
|
||||
; ^ @function.call
|
||||
; ^ ^^ ^^ @variable.builtin
|
||||
|
||||
&
|
||||
;^ parameter
|
||||
;^ @parameter
|
||||
|
||||
->abc
|
||||
;^^^^^ constructor
|
||||
;^^^^^ @constructor
|
||||
|
||||
->>abc
|
||||
;^^^^^^ variable
|
||||
;^^^^^^ @variable
|
||||
|
||||
*1 *2 *3 *e
|
||||
;^^ ^^ ^^ ^^ variable.builtin
|
||||
;^^ ^^ ^^ ^^ @variable.builtin
|
||||
|
||||
(.method)
|
||||
;^^^^^^^ method
|
||||
;^^^^^^^ @method
|
||||
|
||||
(.-field)
|
||||
;^^^^^^^ field
|
||||
;^^^^^^^ @field
|
||||
|
||||
Abc/method
|
||||
;^^^^^^^^^^ field
|
||||
;^^^^^^^^^^ @field
|
||||
|
||||
(Abc/method)
|
||||
;^^^^^^^^^^ method
|
||||
;^^^^^^^^^^ @method
|
||||
|
||||
Abc
|
||||
;^^^ type
|
||||
;^^^ @type
|
||||
|
||||
abc.
|
||||
;^^^^ type
|
||||
;^^^^ @type
|
||||
|
||||
^abc
|
||||
;^ punctuation.special
|
||||
;^ @punctuation.special
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue