ryanoasis / vim-devicons

Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
MIT License
5.61k stars 263 forks source link

Misalignment due to length of folder name #443

Open phalanx8 opened 1 year ago

phalanx8 commented 1 year ago

Requirements

Required Info

Optional Info

Problem

Nerdtree is misaligning the vsplit. let g:WebDevIconsNerdTreeGitPluginForceVAlign = 1 and let g:WebDevIconsUnicodeDecorateFolderNodes = 1 are set. When the folder of the tree root dir is too large it gets truncated usually with an arrow symbol: image

This leads to a misalignment in the vsplit. Here is another example of this behaviour, but this time with Bookmarks: image The Bookmark nvim is resized with an arrow symbol the others not.

phalanx8 commented 1 year ago

Some Update to this: I used Space Mono Nerd Font, which compress </ into this compress/arrow down icon, that uses less space which leads to this misalignment. Just changing fonts will fix/ignore this problem.