mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-01 00:24:54 +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
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue