Files
neovim/runtime/lua/vim
PRIZ ;] 902b689c4d docs(lua): typing for vim.fn.winlayout #33817
Problem:
`any[]` means nothing, and the return value is not the same as what's
documented in the comment (eg, Lua returns `{ "row", { { "leaf", 1000 },
{ "leaf", 1001 } } }`, not `{ "row", { "leaf", 1000, "leaf", 1001 } }`)

Solution:
Create two classes (vim.fn.winlayout.leaf and vim.fn.winlayout.branch)
and one alias that links the two together.

Also: Due to LuaLS limitations, there is an empty class,
vim.fn.winlayout.empty

Signed-Off-By: VoxelPrismatic <voxelprismatic@pm.me>
2025-05-03 11:34:25 -07:00
..
2024-03-06 10:45:22 +00:00
2024-01-16 09:33:10 +00:00
2025-04-27 13:40:46 -07:00
2025-03-15 15:00:44 +01:00
2025-05-03 10:25:58 -07:00
2025-04-27 15:44:11 -07:00
2025-02-26 23:06:22 +01:00