Skip to content
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

Misalignment due to length of folder name #443

Open
9 tasks done
phalanx8 opened this issue Jan 6, 2023 · 1 comment
Open
9 tasks done

Misalignment due to length of folder name #443

phalanx8 opened this issue Jan 6, 2023 · 1 comment

Comments

@phalanx8
Copy link

phalanx8 commented Jan 6, 2023

Requirements

Required Info

  • I have searched the issues for my issue and found nothing related and/or helpful
  • I have read or at least glanced at the FAQ
  • I have read or at least glanced at the Wiki
  • VimDevIcons is the last loaded vim plugin?
  • What vim9 and neovim0.8 of vim are you using?
    • hint: vim --version
  • What Space Mono Nerd Font are you using?
  • using vim from the terminal
  • using Mac

Optional Info

  • Provide screenshots where appropriate

Expected Behaviour

image

Behaviour when Folder Name is too big (/Users/...../../.../.../data-science-from-scratch)

image

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
Copy link
Author

phalanx8 commented Jan 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant