Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
9 tasks done
shadowwa opened this issue May 29, 2023 · 1 comment · May be fixed by #454
Open
9 tasks done

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

shadowwa opened this issue May 29, 2023 · 1 comment · May be fixed by #454

Comments

@shadowwa
Copy link

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

@Deftera186 Deftera186 linked a pull request Jun 5, 2023 that will close this issue
3 tasks
Deftera186 added a commit to Deftera186/vim-devicons that referenced this issue Jun 5, 2023
@Cnly
Copy link

Cnly commented May 16, 2024

Just want to mention that this (nf-seti-tex) is probably a better option for tex:

let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['tex']    = ''  " nf-seti-tex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants