-
Notifications
You must be signed in to change notification settings - Fork 8
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
use same codepoints as nerd fonts #13
Comments
It'd be nice if something could be done here, but I'm not sure that using the same code points as Nerd Fonts is the right thing. In my use case, I already have patched fonts via Nerd Fonts. Because the code point ranges overlap, I can't use nonicons. The range used by nonicons (U+f101-U+f208) overlaps with Nerd Fonts. Specifically, it overlaps with the range for Font Awesome (U+f000-U+f20e). In fact, Nerd Fonts is already relocating conflicting code points. Because of the conflicting ranges, I either have to not use nonicons, or change my Kitty configuration to choose the nonicons over Nerd Fonts for the nonicons code points:
It looks like the code points for nonicons are configured in |
I just relocated all glyphs to empty nerdfont U+E3E8-U+E506 range by editing .fantasticonrc.js and nonicon.json + yarn update. I don't use yamatsum/nvim-nonicons because of that, just copied mapping.lua with changed codes and manually override it in kyazdani42/nvim-web-devicons. Works well for me. |
@ya2s any chance that we can shift the code points to an empty range such that it doesn't clash with nerdfont? |
this will help when the icons are not configurable for some programs like exa
The text was updated successfully, but these errors were encountered: