Allow overlapping window borders with `window.placement.vertical = "bottom"` as well
:h incline-config-window.margin.vertical states that:
If
window.placement.verticalistopand 'laststatus' is3, you can setwindow.margin.vertical.topto0to allow Incline statuslines to overlap window borders.
Is it possible to get the same behaviour with window.placement.vertical = "bottom" as well? I.e. if there for instance is a two-way horizontal split, place the top window's incline over the window border (below that window), and the bottom window's incline in a floating window at the bottom of that window.
I'm in favor of this, but don't have time to work on it at the moment. PRs are welcome :)
This is now possible with the following config:
require("incline").setup {
window = {
margin = { horizontal = 0, vertical = 0 },
placement = { horizontal = 'right', vertical = 'bottom' },
overlap = {
tabline = false,
winbar = true,
borders = true,
statusline = true,
},
},
}