简体   繁体   中英

Neovim: icons missing nvim-tree-web-devicons

I added nvim-devicons and installed one of the patched fonts:

https://www.nerdfonts.com/font-downloads .

the icons still not showing,

在此处输入图像描述

Config with packer:

https://github.com/kyazdani42/nvim-web-devicons

use({
    "kyazdani42/nvim-tree.lua",
    requires = {
        "kyazdani42/nvim-web-devicons", -- optional, for file icons
    },
})

This is my GitHub repo for this config:

https://github.com/azizgharbi/Neovim-config

Should i install all the icons ? because i only installed one of those icons which is big blue terminal .

I am on macOs and using iterm2.

Make sure to set the terminal font to use the patched font How To change the font in iTerm2:

1- Start iTerm2.
2- Click iTerm2 → Preferences → Profiles → Text.
3- choose the patched Font on the right.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM