refactor(lua): rename tbl_islist => islist

ref #24572
This commit is contained in:
Justin M. Keyes
2024-04-21 15:19:43 +02:00
parent 032df963bb
commit d9d890562e
10 changed files with 67 additions and 57 deletions

View File

@ -642,7 +642,7 @@ end
--- @param t table<any,any>
--- @param val any
local function remove_one_item(t, val)
if vim.tbl_islist(t) then
if vim.islist(t) then
local remove_index = nil
for i, v in ipairs(t) do
if v == val then