mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs: made can_merge private (#15138)
This commit is contained in:
parent
4ed2d4fd66
commit
9358aa04c4
@ -200,6 +200,8 @@ function vim.tbl_isempty(t)
|
||||
return next(t) == nil
|
||||
end
|
||||
|
||||
--- we only merge empty tables or tables that are not a list
|
||||
--@private
|
||||
local function can_merge(v)
|
||||
return type(v) == "table" and (vim.tbl_isempty(v) or not vim.tbl_islist(v))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user