Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/zen/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
4 changes: 1 addition & 3 deletions tests/test_integrations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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" })
Expand Down
Loading