kristijanhusak/defx-icons

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.

Screen Shot 2019-05-07 at 19 01 49

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.

Screen Shot 2019-05-07 at 19 04 59

What font are you using? Try for example https://github.com/be5invis/Iosevka and see if it happens.

Installed and tried all types of Iosevka, still didn't work.
Screen Shot 2019-05-07 at 20 31 40

@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.

rafi commented

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