aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_options.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-04-21 15:19:43 +0200
committerJustin M. Keyes <justinkz@gmail.com>2024-04-21 17:08:07 +0200
commitd9d890562e43493c999f8a6ff2b848959686f5b6 (patch)
treee2f751afe697c4e95a37b00b2d75690ca173122d /runtime/lua/vim/_options.lua
parent032df963bb3fb0b5652e1817e9f4da986996fa6d (diff)
downloadrneovim-d9d890562e43493c999f8a6ff2b848959686f5b6.tar.gz
rneovim-d9d890562e43493c999f8a6ff2b848959686f5b6.tar.bz2
rneovim-d9d890562e43493c999f8a6ff2b848959686f5b6.zip
refactor(lua): rename tbl_islist => islist
ref #24572
Diffstat (limited to 'runtime/lua/vim/_options.lua')
-rw-r--r--runtime/lua/vim/_options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_options.lua b/runtime/lua/vim/_options.lua
index 13ad6cc58f..b41e298dd7 100644
--- a/runtime/lua/vim/_options.lua
+++ b/runtime/lua/vim/_options.lua
@@ -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