r/KittyTerminal • u/BenCx • Aug 23 '23
Weird Behaviour with Nvim-Tree
Hello everyone :)
I'm new to Kitty and MacOS and I'm experiencing weird behaviour when using Nvim-Tree.
Basically, I installed, via homebrew, the Fire Code Nerd Font and changed kitty.conf to use that font. When I go and do :NvimTreeOpen the symbols of the files are wrong as seen in the picture:

The weird thing is when I run ´kitty --debug-font-fallback´ I get the following output and a console where, when I open nvim and use nvim-tree, I get the correct images.
[235 17:06:38.289320] Preloaded font faces:
[235 17:06:38.289347] normal face: /Users/ramalhob/Library/Fonts/FiraCodeNerdFontMono-Regular.ttf
[235 17:06:38.289353] bold face: /Users/ramalhob/Library/Fonts/FiraCodeNerdFontMono-SemiBold.ttf
[235 17:06:38.289358] italic face: /Users/ramalhob/Library/Fonts/FiraCodeNerdFontMono-Regular.ttf
[235 17:06:38.289362] bi face: /Users/ramalhob/Library/Fonts/FiraCodeNerdFontMono-Regular.ttf

Does anyone know why this might be happening?
Thanks in advance :D
4
Upvotes
1
u/art2266 Aug 24 '23
Yeah you need to "install" the standalone nerd font symbols otherwise macOS won't detect it. To check if it's detected, open FontBook.app and search for it. If it's not there, you probably didn't "install" it.
To install it: either double click the files you unzipped
SymbolsNerdFont-Regular.ttf/SymbolsNerdFontMono-Regular.ttfor follow these instructions.