mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +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
|
||||
|
||||
local function has_value(tab, val)
|
||||
for index, value in ipairs(tab) do
|
||||
for _, value in ipairs(tab) do
|
||||
if value == val then
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue