-
-
Notifications
You must be signed in to change notification settings - Fork 624
When new buffer opens from tree file list, it creates half-split ignoring width setting #1522
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
Comments
This sounds like a bug. Please create a minimal config |
@alex-courtis it's a clean lunarvim config |
Lunarvim is extremely far from a minimal config. Open the link Alex gave you. |
I think I'm facing the same problem Steps to reproduce the issue:
nvim .
P.S. I tried neovim with a minimal configuration (only nvim-tree) |
I found a workaround to use |
#1594 fixed my problem :) |
Thanks @pleshevskiy , merged. @flppv please update nvim-tree.lua and see if it resolves the issue. |
@alex-courtis unfortunately I got rid from LunarVim where this bug occured for me, and started using my own clean config, I hadn't issue with width there, but I had with tree changing side to right, which is resolved with new update. I assume I can close this issue |
Fantastic! LunarVim does do a lot... |
Description
When on the screen there is only a file tree, upon opening the file it opens a tab on the right half of the window, and nvim-tree takes a left half, even with width setting being set. Toggling nvim-tree twice (close-open) shrinks it to a width-value width.
Neovim version
Operating system and version
macOS 12.4
nvim-tree version
08ab346
Minimal config
-
Steps to reproduce
Expected behavior
Opened tab takes
full-width - nvim-tree-width
width, and nvim-tree takesnvim-tree-width
widthActual behavior
Opened tab takes 50% width, and
nvim-tree
50% widthThe text was updated successfully, but these errors were encountered: