You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use this plugin on neovim-qt, there is a warning sometimes:
Warning: Font "monaco" reports bad fixed pitch metrics
I googled it and find solution in below page. https://jdhao.github.io/2019/01/17/nvim_qt_settings_on_windows/
The solution is to use GuiFont+bang in ginit.vim: :GuiFont! fontname
Because this plugin should be sourced before gui enable, so my solution is to update the last statement of function function! s:SwitchFont() like below
let g:favorite_gui_font = guifont
if !has('nvim')
execute 'set guifont=' . guifont
endif
And then add below line in ginit.vim
execute ':GuiFont! '.g:favorite_gui_font
But this is verbose. Is there any better solution?
The text was updated successfully, but these errors were encountered:
When I use this plugin on neovim-qt, there is a warning sometimes:
I googled it and find solution in below page.
https://jdhao.github.io/2019/01/17/nvim_qt_settings_on_windows/
The solution is to use GuiFont+bang in ginit.vim:
:GuiFont! fontname
Because this plugin should be sourced before gui enable, so my solution is to update the last statement of function
function! s:SwitchFont()
like belowAnd then add below line in ginit.vim
But this is verbose. Is there any better solution?
The text was updated successfully, but these errors were encountered: