Description
Problem description
If I got (wide monitor) 3 split windows horizontally next to each other I expect the other 2 unfocussed windows to relatively get smaller both, but only 1 gets resized, the other one stays as big as was and the 1 that gets resized gets really small ...
This happens if I set the width
option alongside the minwidth
option like so:
use({
"beauwilliams/focus.nvim",
config = function()
require("focus").setup({
excluded_filetypes = { "floaterm", "aerial" },
width = 130, -- useful because of my cursorcolumn=80,100,120 setup
minwidth = 90,
bufnew = false,
})
end,
})
This kinda makes the plugin useless for me since there is another bug regarding bottom windows like trouble
:
when I leave the width option unset and leave it to the golden ratio calculation, if I then open and later close the Trouble
window at the bottom ... the resize/focus-algorithm kicks in in a buggy way - it forgets the window has already been resized and resizes/enlarges the window a second time, making the focussed window huge and the others small, however in this golden-ratio mode, the other windows are both taken into account in my 3-split window setup
This way, wether I set the width or don't, I always run into strange sizing issues that I simply can't circumvent ... Please fix!!! Would love to use this :-) <3