diff --git a/lua/zen/init.lua b/lua/zen/init.lua index 2789ba3..8b7c862 100644 --- a/lua/zen/init.lua +++ b/lua/zen/init.lua @@ -3,7 +3,7 @@ --- @class Integration --- @field filetype Filetype --- @field min_width? number ---- @field replace? boolean +--- @field replace? boolean --- @class Config --- @field main? { width: number | fun(): number; } diff --git a/tests/test_integrations.lua b/tests/test_integrations.lua index e342da3..db06247 100644 --- a/tests/test_integrations.lua +++ b/tests/test_integrations.lua @@ -36,7 +36,6 @@ T["left integration"]["opening closes zen side buffer, closing reopens it"] = fu }) end - T["left integration"]["opening an integration should close the existing integration on the same side"] = function() child.cmd("Fyler kind=split_left_most") @@ -132,8 +131,7 @@ T["top integration"]["opening an integration should close the existing integrati }) end - -for _, case in ipairs({ { name = "above", }, { name = "below", } }) do +for _, case in ipairs({ { name = "above" }, { name = "below" } }) do T["top integration"]["stacks " .. case.name .. " when configured " .. case.name .. " with replace=false"] = function() if case.name == "below" then child.restart({ "-u", "tests/scripts/init_with_zen_top_order.lua" })