How do I put put fira code font in neovim?

3.2k views Asked by At

I recently found out about fira code and I was wondering how do I get it in neovim?

I didnt find any tutorial

3

There are 3 answers

1
lcheylus On

Your font is not configured in Neovim. The text editor uses the font defined for your terminal (xterm, Gnome Terminal, Kitty, Alacritty...)

0
Xavier T. On

If you are talking about nvim-qt and not in your terminal, on Windows, in my $HOME\AppData\Local\nvim folder, I have ginit.vim file with the following content :

GuiFont! Fira Mono:h11:cANSI:qDRAFT

guifont is an option to force the font used in gvim normally, but nvim-qt seems to follow it as well

1
Robin On

You need to change the terminal font.