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

netrw windows are not ignored, even if added to the config

Open chrisgrieser opened this issue 2 years ago • 2 comments

:set filetype? in a netrw window returns "netrw".

this config, however, does not seem to take any affect, windows.nvim still auto-resizes the window

require("windows").setup {
	autowidth = {
                enable = true
        }
	ignore = {
                filetype = {"netrw"}
        }
}

chrisgrieser avatar Dec 12 '22 11:12 chrisgrieser

Commenting to say that i've been having the same issues, not sure whats causing it. Did you ever find a solution?

dan-myles avatar May 19 '23 22:05 dan-myles

Coming back to comment that this seems to be only an issue if it is the only vertical split that you have opened. Say you already have 2 vertical splits open, then proceed to open netrw in another vertical split. It is resized. Otherwise if you only have one buffer open and open netrw in a vertical split, it will resize itself.

dan-myles avatar May 19 '23 22:05 dan-myles