mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11: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,30 +1,30 @@
|
|||
type int = int
|
||||
/* ^ variable */
|
||||
/* ^ type.builtin */
|
||||
/* ^ @variable */
|
||||
/* ^ @type.builtin */
|
||||
|
||||
type int_array = array of int
|
||||
/* ^ type.builtin */
|
||||
/* ^ @type.builtin */
|
||||
|
||||
type record = {a: int, b: string}
|
||||
/* ^ property */
|
||||
/* ^ type.builtin */
|
||||
/* ^ property */
|
||||
/* ^ type.builtin */
|
||||
/* ^ @property */
|
||||
/* ^ @type.builtin */
|
||||
/* ^ @property */
|
||||
/* ^ @type.builtin */
|
||||
|
||||
var record := record {a = 12, b = "27"}
|
||||
/* ^ variable */
|
||||
/* ^ type */
|
||||
/* ^ property */
|
||||
/* ^ property */
|
||||
/* ^ @variable */
|
||||
/* ^ @type */
|
||||
/* ^ @property */
|
||||
/* ^ @property */
|
||||
|
||||
var array := int_array[12] of 27;
|
||||
/* ^ variable */
|
||||
/* ^ type */
|
||||
/* ^ @variable */
|
||||
/* ^ @type */
|
||||
|
||||
primitive func(a: int, b: string) : array
|
||||
/* ^ parameter */
|
||||
/* ^ type.builtin */
|
||||
/* ^ parameter */
|
||||
/* ^ type.builtin */
|
||||
/* ^ type */
|
||||
/* ^ @parameter */
|
||||
/* ^ @type.builtin */
|
||||
/* ^ @parameter */
|
||||
/* ^ @type.builtin */
|
||||
/* ^ @type */
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue