diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-10-14 19:22:03 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-10-24 02:07:37 +0200 |
| commit | 7838c242e96c4f6c6432a997234bb2dbdbfea658 (patch) | |
| tree | 9e0b70d47414006a712ad91a00710dc41da526a7 /runtime/lua/vim/shared.lua | |
| parent | 07d0da64ed51202f0dbd92d43c89aa5f246b175e (diff) | |
docs: types, news, lua-plugin
- mention "lua_ls", not "luals". https://github.com/neovim/neovim/discussions/36182
Co-authored-by: Maria Solano <majosolano99@gmail.com>
Diffstat (limited to 'runtime/lua/vim/shared.lua')
| -rw-r--r-- | runtime/lua/vim/shared.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
