Closed luizkowalski closed 5 months ago
I have here a patch-solution that I have implemented (https://github.com/cabiamdos/nerd-fonts-fix). Hope it is useful. Basically I have remapped the available theme icons (unicodes) into the ones that are in the fonts provided into the repository.
I've been using nerdfonts with zsh + starship + iTerm2, thanks for the great work everyone!
nerdfix
managed to solve the problem, I had only one file that had to be patched as it can be seen below.
./nerdfix fix ~/dotfiles/starship.toml
:
# Auto fix it using last input ''
note: Found obsolete icon U+FA1E
┌─ /Users/jpcercal/dotfiles/starship.toml:128:12
│
128 │ format = "[羽](bold cyan)[took $duration](bold cyan) [❯](dimmed white) "
│ ^^ Icon 'nf-mdi-timer_sand' is marked as obsolete
│
= You could replace it with:
1. U+F051F nf-md-timer_sand
2. U+F19A0 nf-md-timer_sand_paused
3. U+F078C nf-md-timer_sand_full
4. U+F06AD nf-md-timer_sand_empty
> Input an icon:
# Your input: nf-md-timer_sand
> Are your sure to write the patched content? all yes
The full file changes after the nerdfix command got executed can be found here: https://github.com/jpcercal/dotfiles/commit/23898f0a110e4fcbe79da574a1d78526063f15fb
Reference: https://github.com/loichyan/nerdfix
Thanks!
I guess we can close this issue now. It will still be pinned for some time.
🗹 Requirements
🎯 Subject of the issue
Experienced behavior: this morning I updated some deps on my computers and some fonts were updated as well but this is not a big deal since this has happened before, but after the update finished I noticed some icons on my neovim were wrong like the
Gemfile
icon and theX
for closing a buffer:This was weird so I decided to delete all custom fonts I had, clean up the cache, re-download them manually, and reinstall it. To my surprise, nothing has changed
No idea what is going on, this is my text configuration on iTerm2:
Neovim version:
No Neovim config has been changed prior to today or after this.
Expected behavior: X and missing icons should exist
Example symbols:
🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?iterm2
,urxvt
,gnome
,konsole
)?One more screenshot from other missing icons
I guess it should've been the "unknown file" icon