Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrisgrieser opened this issue Dec 12, 2022 · 2 comments
Open

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

chrisgrieser opened this issue Dec 12, 2022 · 2 comments

Comments

@chrisgrieser
Copy link

: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"}
        }
}
@dan-myles
Copy link

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

@dan-myles
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants