mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 23:20:08 +02:00
removd unused loop variable index
This commit is contained in:
parent
3f824f60b3
commit
229720a1f6
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ local function is_string(t)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function has_value(tab, val)
|
local function has_value(tab, val)
|
||||||
for index, value in ipairs(tab) do
|
for _, value in ipairs(tab) do
|
||||||
if value == val then
|
if value == val then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue