We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
If a file starts with a . (dot), all padding will be missing on the git icons if renderer.icons.git_placement is set to "right_align".
.
renderer.icons.git_placement
"right_align"
The issue has existed since I started using right aligned git icons in November so I don't think it's a regression.
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713773202
Linux 6.12.10-zen1
No response
e7d1b7d
return { "nvim-tree/nvim-tree.lua", opts = { renderer = { icons = { git_placement = "right_align", padding = " ", glyphs = { git = { unstaged = "", staged = "", unmerged = "", renamed = "", untracked = "", deleted = "", ignored = "", }, }, }, } } }
git init
mkdir foo && cd foo && touch bar .baz && git init && nvim
The git icons should have their padding preserved:
The git icons do not have their padding preserved:
The text was updated successfully, but these errors were encountered:
fix(nvim-tree#3124): prevent empty icons_after response from breaking…
25bc9f4
… padding
fix(nvim-tree#3124): prevent empty icons_right_align response from br…
19b45ed
…eaking padding
fix(#3124): fix icon padding for "right_align" placements, notably fo…
e4cd856
…r dotfiles (#3125) fix(#3124): prevent empty icons_right_align response from breaking padding
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Description
If a file starts with a
.
(dot), all padding will be missing on the git icons ifrenderer.icons.git_placement
is set to"right_align"
.The issue has existed since I started using right aligned git icons in November so I don't think it's a regression.
Neovim version
Operating system and version
Linux 6.12.10-zen1
Windows variant
No response
nvim-tree version
e7d1b7d
Clean room replication
Steps to reproduce
git init
mkdir foo && cd foo && touch bar .baz && git init && nvim
Expected behavior
The git icons should have their padding preserved:
Actual behavior
The git icons do not have their padding preserved:
The text was updated successfully, but these errors were encountered: