Closed soerenmartius closed 2 years ago
sure thing :) there are two sets of icons
in the normal lunarvim, you can use any of the Nerd Fonts that you like. Bear in mind that you need to configure your terminal to use those fonts as well
in my own setup, I'm using a fork https://github.com/abzcoding/lvim/blob/40c7b65cde011b9b98f6627cec32fdcdca68efea/config.lua#L47-L49
and you can check my terminal configuration to see how I'm setting them up
btw in readme you need to expand the Other Stuff
part and then the link works
edit: now it should be easier to find
Hey @abzcoding , thanks for your reply. I've installed the missing fonts with:
brew tap homebrew/cask-fonts
brew search nerd-font
brew install --cask font-fira-code
brew install --cask font-victor-mono-nerd-font
brew install --cask font-iosevka
brew install --cask font-hack-nerd-font
(see the corrected line for installing the iosevka) font but still I am not seeing any icons :/ any idea?
if you want to use iosevka
, you need the nerd font variant
basically only nerd font variants contain the icons/glyphs
same for the fira-code
also make sure that you've set the correct font on your terminal emulator
for example in alacritty ( inside ~/.config/alacritty/alacritty.yml
)
font:
normal:
family: "FiraCode Nerd Font"
style: Retina
size: 13
offset:
x: 0
y: 8
ligatures: true
or in kitty( ~/.config/kitty/kitty.conf
)
font_family FiraCode Nerd Font Retina
font_size 13.0
adjust_line_height +5
symbol_map U+e900-U+e954 mini-file-icons # only if you want to use the mini-file-icons font
you can also just download and install the fonts directly, for example FiraCode Nerd Font
font: normal: family: "FiraCode Nerd Font" style: Retina size: 13 offset: x: 0 y: 8 ligatures: true
Thank you! Not sure if I understood everything correctly. After installing the font variants and using the above-mentioned config (which loads the font in alacritty correctly) the icons still won't show up :/
Thank you! Not sure if I understood everything correctly. After installing the font variants and using the above-mentioned config (which loads the font in alacritty correctly) the icons still won't show up :/
you can't use the mini-file-icons
in alacritty
-> so please remove this line from your config and do a :PackerSync
lvim.builtin.nvim_web_devicons = { active = false }
also, here is my full alacritty config, it might be helpful
font:
normal:
family: "FiraCode Nerd Font"
style: Retina
bold:
family: "FiraCode Nerd Font"
style: Retina
italic:
family: "Hack Nerd Font"
style: Italic
bold_italic:
family: "Hack Nerd Font"
style: Italic
size: 13
offset:
x: 0
y: 8
ligatures: true
glyph_offset:
x: 0
y: 0
use_thin_strokes: true
other than that, i'd suggest doing a :LvimCacheReset
as well
That worked! Thanks!
Hey @abzcoding
It seems that in my setup some icons are missing. The link to recommended fonts in the README.md ends up in a nirvana :) Could you help me to figure out what I am missing here? I've installed nerdfonts and firacode already.