mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
18 lines
369 B
Lua
18 lines
369 B
Lua
-- luacheck: ignore
|
|
local a = { 1, 2, 3, 4, 5 }
|
|
-- ^ @number ^ @punctuation.bracket
|
|
-- ^ @variable
|
|
|
|
local _ = next(a)
|
|
-- ^ @function.builtin
|
|
-- ^ @keyword
|
|
|
|
_ = next(a)
|
|
-- ^ @function.builtin
|
|
|
|
next(a)
|
|
-- ^ @function.builtin
|
|
|
|
-- Checking for incorrect hlgroup of injected luap
|
|
string.match(s, '\0%d[^\n]+')
|
|
-- ^ !constant
|