Closed lestergill closed 6 months ago
You should install correct fonts via M-x nerd-icons-install-fonts
. The default font name is "Symbols Nerd Font Mono". Please check nerd-icons-font-family
. Below is screenshot in my env (WSL2 + Arch + Emacs 29.1 pgtk)
I have already done M-x nerd-icons-install-fonts.
I already posted the output of nerd-icons-font-family. But, I will change it again, to the default.
(describe-variable 'nerd-icons-font-family)
#("nerd-icons-font-family is a variable defined in ‘nerd-icons.el’.
Its value is \"Symbols Nerd Font Mono\"
I have the same issue.
This is my nf-md-... list showing that I do have it on preview, same as you:
This symbol should be displayed when enabling lsp-modeline-code-actions-mode
and setting lsp-modeline-code-actions-segments
.
I guess some fonts are conflicted with `NFM.ttf``, and override some icons.
Thank you for the bug report
doom-modeline
related packages.emacs -Q
.Bug description
Emacs version:
I am using Monofur Nerd Font Mono:
Here it is in my ~/.fonts dir:
I am running Emacs in WSL2 as a GUI app on a Windows 10 desktop machine, the WSL2 is using Ubuntu 22.04.2 LTS and kernel 5.15.133.1-microsoft-standard-WSL2
You can see it in the taskbar above. Please let me know if you need anything else or if I have made a mistake.
Steps to reproduce
Install the font in ~/.fonts and refresh the cache. Set the nerd font family variable. Run nerd-icons-install-fonts. Open a Java file, with lsp-mode and lsp-java language server. The lightbulb symbol, that should appear when the language server notices an error or warning, is replaced with a hex symbol as in the image.
Expected behavior
Lightbulb symbol to be displayed in mode line.
OS
Linux
Emacs Version
27
Emacs Configurations
Vanilla emacs with Doom modeline and Doom theme
Error callstack
No response
Anything else
No response