From 10dd49958c96f86c8247c715bd20a6681afc1d8b Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 24 Dec 2023 12:52:21 +0100 Subject: chore(tests): consistent captures --- tests/query/highlights/lua/test.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/query/highlights/lua/test.lua') diff --git a/tests/query/highlights/lua/test.lua b/tests/query/highlights/lua/test.lua index e8725b9fe..55818bb74 100644 --- a/tests/query/highlights/lua/test.lua +++ b/tests/query/highlights/lua/test.lua @@ -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 -- cgit v1.2.3-70-g09d2