Invalid icon displayed in defx
showalski opened this issue · 6 comments
When I open defx windown, the file icons were replaced to question mark. The terminal I use is iterm.
Besides, when display readme.md file in this link. It's unable to display(Check below pic). Not sure whether this is an OS level issue or other issue. Can some help on this issue? Thanks in advance.
What font are you using? Try for example https://github.com/be5invis/Iosevka and see if it happens.
@showalski if i remember well, you can define separate font for ascii . Did you do that?
I have just solved this problem on my iTerm2 by installing https://github.com/ryanoasis/nerd-fonts. Just pick the corresponding nerd-font of your current font or whatever else. E.g., I was using Fira Mono for Powerline, and the icons weren't displayed correctly. I switched to the Fira Mono Nerd Font Mono and then the icons are displayed.
You can install Nerd Fonts with Homebrew Cask:
brew cask
brew search nerd-font
brew cask install font-iosevka-nerd-font
Does not work in the spacevim