-
Notifications
You must be signed in to change notification settings - Fork 267
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
extra space for file but not for folder? #213
Comments
Thanks I really appreciate that 😄 Also sorry for the delayed response, I have been busy with Nerd Fonts I will look at your issue when I get a chance but seems we still have some off-by-one issue between folders and other glyphs depending on the configuration 😊 This probably won't matter but you could try messing with |
I just noticed this issue after posting mine #225. |
@slabua thank you for the solution, it works, now the extra white space is gone, I have to modify it in the source code of the plugin, instead of just appending a line in vimrc |
We should probably go ahead and make it configurable. Thanks for the follow ups |
Hi, I have encountered a redraw issue after this commit. I attach two pictures, the one with the red theme from a working snapshot at commit 8db0e63, whilst the other with the green theme is the one showing the issue after commit 40040ba: There also seems to be an issue with the icon in front of the folder.
|
Hint: I tried to set |
@slabua Thanks for the gifs 👍 You can mostly return the logic to how it was prior now with
To do so properly not without a PR to NERDTree https://github.com/scrooloose/nerdtree/blob/509122df20e200b50e887c32cb7d92b19171a4ab/lib/nerdtree/flag_set.vim#L55 we just make use of the flagSet class to set devicon flags and use conceal to hide the brackets 😄 |
@ryanoasis no problem :) Regarding the symbol next to the folder, I guess I'll find a way to let nerdtree-git-plugin be aware of the |
Cool. Glad that worked for you. Hmm the issue is the 'x' symbols distance to the folder name? I was actually considering removing that glyphdoublewidth option since we now have padding for before and after the glyph you can set. I need to think about it more |
@ryanoasis yes, that x symbol is double width, but whilst the other double width symbols next to the file names are correctly handled, those related to the git plugin are not. |
First thank you for the hard work on developing this plugin.
There are an extra space after file icon but not folder icon,
which I don't want.
It happens in neovim macvim and vim,
Is There an easy way for me to fix it?
Terminal: iTerm2 3.1.4
Platform: 10.12.6
Font: FuraCode Nerd Font
vimrc:
vim version:
The text was updated successfully, but these errors were encountered: