windows.nvim
windows.nvim copied to clipboard
netrw windows are not ignored, even if added to the config
: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"}
}
}
Commenting to say that i've been having the same issues, not sure whats causing it. Did you ever find a solution?
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.