incline.nvim icon indicating copy to clipboard operation
incline.nvim copied to clipboard

Allow overlapping window borders with `window.placement.vertical = "bottom"` as well

Open mawkler opened this issue 3 years ago • 1 comments

:h incline-config-window.margin.vertical states that:

If window.placement.vertical is top and 'laststatus' is 3, you can set window.margin.vertical.top to 0 to 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.

mawkler avatar Aug 05 '22 15:08 mawkler

I'm in favor of this, but don't have time to work on it at the moment. PRs are welcome :)

b0o avatar Aug 07 '22 22:08 b0o

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,
    },
  },
}

b0o avatar Apr 03 '24 06:04 b0o