mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
removed unused loop variable index
This commit is contained in:
parent
229720a1f6
commit
c94aac07cd
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,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…
Reference in a new issue