refactor(lua): remove deprecated features #28725

This commit is contained in:
Justin M. Keyes
2024-05-13 05:00:39 -07:00
committed by GitHub
parent b6fdde5224
commit e3ec974324
4 changed files with 7 additions and 55 deletions

View File

@@ -601,12 +601,6 @@ function vim.spairs(t)
t
end
--- @deprecated
function vim.tbl_isarray()
vim.deprecate('vim.tbl_isarray', 'vim.isarray', '0.10-dev')
error('vim.tbl_isarray was renamed to vim.isarray')
end
--- Tests if `t` is an "array": a table indexed _only_ by integers (potentially non-contiguous).
---
--- If the indexes start from 1 and are contiguous then the array is also a list. |vim.islist()|