chore(tests): consistent captures

This commit is contained in:
Christian Clason 2023-12-24 12:52:21 +01:00
parent 17fae3f4a3
commit 10dd49958c
60 changed files with 872 additions and 873 deletions

View file

@ -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