diff options
Diffstat (limited to 'tests/query/highlights/lua/test.lua')
| -rw-r--r-- | tests/query/highlights/lua/test.lua | 14 |
1 files changed, 7 insertions, 7 deletions
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 |
