From 7838c242e96c4f6c6432a997234bb2dbdbfea658 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 14 Oct 2025 19:22:03 -0400 Subject: docs: types, news, lua-plugin - mention "lua_ls", not "luals". https://github.com/neovim/neovim/discussions/36182 Co-authored-by: Maria Solano --- runtime/lua/vim/shared.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim/shared.lua') diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua index 8c55081050..b4827d0f54 100644 --- a/runtime/lua/vim/shared.lua +++ b/runtime/lua/vim/shared.lua @@ -826,7 +826,7 @@ end --- ---@see https://github.com/openresty/luajit2#tableisarray --- ----@param t? table +---@param t? any ---@return boolean `true` if array-like table, else `false`. function vim.isarray(t) if type(t) ~= 'table' then @@ -1246,7 +1246,7 @@ end --- Returns true if object `f` can be called as a function. --- ----@param f any Any object +---@param f? any Any object ---@return boolean `true` if `f` is callable, else `false` function vim.is_callable(f) if type(f) == 'function' then -- cgit v1.3-3-g829e