This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Icon reverses text #52
Comments
I am not able to reproduce this issue in my config. I am using alacritty and Input Mono font. Also tried it with the AUR fira code font you mentioned, still works fine for me. |
Thanks for checking @SmiteshP, I'll let you know if I figure out why this happens :) |
The problem is that some icons in nerdfonts switch the active direction for the bidirectional algorithm. I described this issue in nvim-web-devicons which has the same issue for some filetype icons (tex and svg are ones I know of for certain). If you surround the icon with the direction isolates like I describe there, it should fix your issue. |
I see thanks for explaining @jdrouhard! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not sure what's going on and if it's
nvim-gps
's fault but when I set thecontainer
icon to the one I want it reverses the whole text, see following screenshot for what I mean:If I set it to eg
'c'
it's not reversed. It is also reversed if I just printrequire('nvim-gps').get_location()
. Any idea what's going on here? The icon I want to use is0xfb85
(ﮅ). I'm using nerd-fonts-fira-code from AUR and alactritty.Edit: If I use another one, eg
0xf01c
it's not reversed.The text was updated successfully, but these errors were encountered: