-
Notifications
You must be signed in to change notification settings - Fork 58
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
Consistent column widths of hard-coded special glyphs and avoid U+FE0F, or allow users to override them #64
Comments
good point, i will fix this. might take a bit of time though, not feeling well recently, got put on some medication that doctor said will make you dizzy for a few days |
No worries and stay safe, mate! |
is there any update on this? this is totally needed since my terminal not support symbol or emoticon, so probably there could be any way on how to easily change this just like the nerdtree-git does. like this |
I will add localization support in the PR above. setting |
will actually add |
Currently U+FE0F, which is the variation selector that enforces some preceding glyphs to be rendered in colour & double column, is used a lot in codes and sometimes hard-coded (
system.py
andtransitions.py
). Unfortunately terminal emulators, shells, and even NeoVim, seldom handle them correctly (neovim/neovim#7151, neovim/neovim#12435) and they often cause problems.So I think we should allow users to override those hard-coded glyphs like how coc.nvim handles this issue: https://github.com/neoclide/coc.nvim/blob/806ce47583d66d0b574a3c993526033971e700cf/autoload/coc.vim#L9
Even better, if we could also unify the glyph column widths in
emoji_icons.json
without relying on U+FE0E/U+FE0F, more users will able to enjoy emojis without suffering from weird glitches.PS: Some U+FE0F's are actually redundant in CHADTree's code, e.g. those come after U+231B, U+1F004
The text was updated successfully, but these errors were encountered: