-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Do not ignore right_aligned
icons when computing max window width
#3015
Comments
That looks correct, a pull request would be most gratefully appreciated, see CONTRIBUTING.md
Should this be |
alex-courtis
added
bug
Something isn't working
PR please
nvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciated
and removed
feature request
labels
Dec 6, 2024
simonmandlik
added a commit
to simonmandlik/nvim-tree.lua
that referenced
this issue
Dec 8, 2024
Here #3022
Sure, sorry, made a typo here :) |
simonmandlik
added a commit
to simonmandlik/nvim-tree.lua
that referenced
this issue
Dec 8, 2024
simonmandlik
added a commit
to simonmandlik/nvim-tree.lua
that referenced
this issue
Dec 11, 2024
simonmandlik
added a commit
to simonmandlik/nvim-tree.lua
that referenced
this issue
Dec 11, 2024
simonmandlik
added a commit
to simonmandlik/nvim-tree.lua
that referenced
this issue
Dec 13, 2024
alex-courtis
pushed a commit
that referenced
this issue
Dec 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I like the nvim-tree window to take as much width as needed as long as it doesn't cover over
60%
of the screen. For this reason, I'm usingThis works very nice, but when used together with
right_align
ed icon extmarks, the longest paths are not always shown in full, even if there is plenty of width in the window. This is likely because the max width computation doesn't take these extmarks into account.It would be great to have the width computation take extmarks into account.
I guess the modification could be done here?
nvim-tree.lua/lua/nvim-tree/view.lua
Lines 302 to 335 in ca7c4c3
The text was updated successfully, but these errors were encountered: