Skip to content

Codepoint of some icons changed in nerd-fonts 3.0.0 #452

Open
@shadowwa

Description

@shadowwa

Requirements

Required Info

  • I have searched the issues for my issue and found nothing related and/or helpful
  • I have read or at least glanced at the FAQ
  • I have read or at least glanced at the Wiki
  • VimDevIcons is the last loaded vim plugin?
  • What version of vim are you using? 9.0.1572
    • hint: vim --version
  • What font are you using? "FiraCode Nerd Font"
  • Are you using vim from the terminal or a GUI vim? Terminal
  • Are you using Mac, Linux or Windows? Linux

Optional Info

  • 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-nerdfont-2

devicons with nerd-fonts v3
devicons-nerdfont-3

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
devicons-nerdfont-3-with-config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions