qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.64k stars 218 forks source link

NeoVim from scratch - font not rendering in VimR #887

Open romans-ovo opened 2 years ago

romans-ovo commented 2 years ago

After a long break I'm checking VimR once again. Clearing out my "~/.config/nvim" folder and following instructions here https://github.com/LunarVim/Neovim-from-scratch with neovim-0.6 break icons in VimR:

146915475-7c1dce60-d494-4974-8a76-57e8cce3aa82

Same config from kitty looks like this: Screenshot 2021-12-21 at 11 01 34

OSX: 12.1 (21C52) SNAPSHOT-20211201.192602 (20211201.192602)

romans-ovo commented 2 years ago

- copy-paste this into terminal/VimR: renders as 'cog' in terminal and not visible in VimR with same Fira Code font.

imkerberos commented 2 years ago

VimR doesn't support fallback font now. You should choose a nerd patched font for it.

qvacua commented 2 years ago

I don't yet know how to fix this, but I'll have a look.

kevinm6 commented 2 years ago

I don't yet know how to fix this, but I'll have a look.

@qvacua, I think that the only thing you could do is to add glyphs somewhere in “Resources” folder and ship them with the app package.

@romans-ovo , I suppose that the problem is that Kitty is shipped with some glyphs in the package, VimR is not! The thing you could do is install and use a patched font (that has already the glyphs). Fira Code font that you are using has not the glyphs, so is Kitty that is providing something like a fallback font for non-ASCII text, the same thing you can do on Settings in iTerm2. If you want to stay with Fira Code, download this Fira Code Nerd Font