daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

The newly added guifont option behaves differently than Vim's version #158

Closed baco closed 5 years ago

baco commented 5 years ago

Vim's implementation of the option guifont supports a comma separated list of fonts to test, Neovim-GTK's version doesn't.

The guifont option in Vim supports having a list of fonts to test; if the first font listed is not available then it tries the second, and so forth until it finds one available or defaults on the system's default one.

When I tried this with Neovim-GTK, the editor failed to match the font trying to match the entire string, although the first listed font was available on the system. When I removed the trailing fonts in the list (from second to last), Neovim-GTK was able to load the font using the setting guifont.

Technical information:

daa84 commented 5 years ago

Not sure i use right way to search installed fonts, hope this works :smile: