refactor: fix luals warnings

This commit is contained in:
dundargoc
2023-12-13 14:04:24 +01:00
committed by dundargoc
parent bf0be0f63e
commit d51b615747
17 changed files with 133 additions and 77 deletions

View File

@@ -1593,6 +1593,7 @@ function Screen:_pprint_attrs(attrs, cterm)
return table.concat(items, ", ")
end
---@diagnostic disable-next-line: unused-local, unused-function
local function backward_find_meaningful(tbl, from) -- luacheck: no unused
for i = from or #tbl, 1, -1 do
if tbl[i] ~= ' ' then