mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -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 @@
|
|||
-- luacheck: ignore
|
||||
local a = { 1, 2, 3, 4, 5 }
|
||||
-- ^ number ^ punctuation.bracket
|
||||
-- ^ variable
|
||||
-- ^ @number ^ @punctuation.bracket
|
||||
-- ^ @variable
|
||||
|
||||
local _ = next(a)
|
||||
-- ^ function.builtin
|
||||
-- ^ keyword
|
||||
-- ^ @function.builtin
|
||||
-- ^ @keyword
|
||||
|
||||
_ = next(a)
|
||||
-- ^ function.builtin
|
||||
-- ^ @function.builtin
|
||||
|
||||
next(a)
|
||||
-- ^ function.builtin
|
||||
-- ^ @function.builtin
|
||||
|
||||
-- Checking for incorrect hlgroup of injected luap
|
||||
string.match(s, "\0%d[^\n]+")
|
||||
-- ^ !constant
|
||||
-- ^ @!constant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue