Some plugins define VimEnter autocommands that are way slower in Windows compared to other OSes. E.g. gutentags, yegappan/lsp.
If your vimrc has a colorscheme with background other than white, then gvim on start up blinks white before switching background to what is in colorscheme.
Consider following silly reproducible steps:
test.vim
let a = 10
Run the following:
gvim --clean +"hi normal guibg=black guifg=white" +"au vimenter * for x in range(1000) | so test.vim | endfor"
Gvim window would be white for a bit and then switch to black:
gvim-blink.gif (view on web)Describe the solution you'd like
Describe alternatives you've considered
The alternative is not using the plugins with expensive VimEnter autocommands or use white background colorschemes in Windows Gvim.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()