vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.85k stars 69 forks source link

Option to turn off ligatures #148

Closed sasq64 closed 2 years ago

sasq64 commented 4 years ago

I use the Jetbrains font (which incidentally has ligatures) that I really would like to turn off.

p00f commented 4 years ago

There is an official no-ligature variant (JetBrains Mono NL)

TheExistingOne commented 2 years ago

I really think gnvim should support this. NerdFonts patched fonts have this problem where fi and fl try to become symbols and the only real way to fix it is disabling ligatures. Not using NF also isn't really an option because it's necessary for nerdtree icons

vhakulinen commented 2 years ago

As far as I know, pango (which is used for font rendering inside gnvim) doesn't have API to disable ligatures. You can either try to adjust your system settings or use a font that doesn't have ligatures.