yatli / fvim

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

Underscores not showing #176

Open ghost opened 3 years ago

ghost commented 3 years ago

I cannot see underscores in my code when using fvim. I am using all the default fvim settings, I have not set any of them.

This code:

current_time = chrono::Utc::now();
duration = current_time - last_time;

Shows up like this. image

cpeaustriajc commented 3 years ago

A temporary solution I believe you can do is to add FVimFontLineHeight '+1.25' or higher to your init.lua or init.vim.

Here is my current fvim config:

vim.cmd([[
FVimFontAntialias v:true
FVimFontAutohint v:true
FVimFontHintLevel 'full'
FVimFontLigature v:true
FVimFontLineHeight '+1.25'
FVimFontSubpixel v:true
]])