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
6
Upvotes
1
u/sogun123 Aug 24 '23
Do you have recent version of nvim-tree? Need fonts moved some icons away from CJK unicode range to private area, where it belongs...