yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Awkward looking font when attaching to a WSL Neovim #193

Closed shanoaice closed 3 years ago

shanoaice commented 3 years ago

When I was using the --wsl option to attach to a WSL Neovim, the font looks really awkward (not really the monospaced font I've set in the ginit.vim and they all shrinked together)

Screenshot: image

This is the ginit.vim content: image

shanoaice commented 3 years ago

I've find out the problem...the configuration in the init.lua seemed to have set guifont too and caused a conflict. Is there any way to solve this? I sometimes do need to set a globally avaliable font...

yatli commented 3 years ago

hmm, could you double-check -- set guifont= requires a height specification for example FontName:h14

yatli commented 3 years ago

The latest HEAD changes the behavior to fall back to the OS default.