Colorscheme takes 5 seconds to take effect
carlmueller opened this issue · 2 comments
VimR version 0.45.0
neovim version 0.9.4
macOS Sonoma 14.1.2
M1 iMac
My ginit.vim has one line:
colorscheme koehler
When I start vimr, either with command line or the icon, I see default colors for 5 seconds, and then it switches to the koehler color scheme. The same thing happens with any other color scheme, and likewise if I source ginit.vim in init.vim.
5 seconds is not a long time, but with other nvim gui programs I get the correct colors immediately. It works with neovim-qt, goneovim, neovide.
Sorry, sourcing ginit.vim works after all, but I would still prefer to just put gui settings in ginit.vim.
The following, which appears in the documentation, causes problems with other neovim front ends.
if g:gui_vimr == 1
Instead, I used:
if exists("g:gui_vimr")
source ~/.config/nvim/ginit.vim
endif
Thanks, fixed with VimR version 0.45.3