I have vim-devicons installed (using vim-plug, and it is before vim-airline). But I don't see correct language glyphs.
1 Answer
In order for vim-devicons to work smooth you need:
Make sure
encoding
is set toutf-8
(:set encoding=utf-8
)Install a nerd-font
Make sure Vim uses that nerd font by either:
a. Setting
guifont
to the name of the nerd-font (e.g.:set guifont=JetBrainMono\ NFM:h9:cAINSI
) if you are using gVim. More on that with the following answer: How can I setup a nerd fontb. Make sure your terminal program is using that nerd font.
Install vim-devicons
:set encoding?
)?set guifont?
)? What is the font of your running on your terminal if you use a terminal version of Vim?set encoding=utf-8
andset fileencoding=utf-8
.