vim-devicons
vim-devicons copied to clipboard
Codepoint of some icons changed in nerd-fonts 3.0.0
Requirements
Required Info
- [x] I have searched the issues for my issue and found nothing related and/or helpful
- [x] I have read or at least glanced at the FAQ
- [x] I have read or at least glanced at the Wiki
- [x]
VimDevIconsis the last loaded vim plugin? - [x] What version of vim are you using? 9.0.1572
- hint:
vim --version
- hint:
- [x] What font are you using? "FiraCode Nerd Font"
- [x] Are you using vim from the terminal or a GUI vim? Terminal
- [x] Are you using Mac, Linux or Windows? Linux
Optional Info
- [x] Provide screenshots where appropriate
Since the codepoint change from version 3 of nerd-fonts, some icons used by this plugin are not displayed:
devicons with nerd-fonts v2
devicons with nerd-fonts v3
I had to add these lines in my .vimrc
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['tex'] = '' " nf-md-stop_circle_outline
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['cs'] = '' " nf-md-language_csharp
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['r'] = '' " nf-md-language_r
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['rproj'] = '' " nf-md-vector_rectangle
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['sol'] = '' " nf-md-ethereum
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['pem'] = '' " nf-md-key_variant
let g:WebDevIconsUnicodeDecorateFileNodesExactSymbols['robots.txt'] = '' " nf-md-history
devicons with nerd-fonts v3 and the additionnal config
Just want to mention that this (nf-seti-tex) is probably a better option for tex:
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['tex'] = '' " nf-seti-tex