daa84 / neovim-gtk

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

How can I change the font and font-size? #114

Closed alienbogart closed 6 years ago

alienbogart commented 6 years ago

I'd like to know if it's possible to change the fonts in neovim-gtk. I couldn't find anything in the documentation, and things like "set guifont" and "guifontset" had no effect.

Edit: I'm aware that https://github.com/daa84/neovim-gtk/wiki/Configuration have a method to change the font globally, but I just wanna change it for neovim-gtk.

alienbogart commented 6 years ago

I thought call rpcnotify(1, 'Gui', 'Font', 'DejaVu Sans Mono 12') was a command line command, but it's actually a function for neovim. It solved the problem 100%. Closing the issue.