galaxyline.nvim
galaxyline.nvim copied to clipboard
Neovim default status line flashes at start
Neovim default status line flashes at start, is there any way to prevent that? Default status line is visible for few milliseconds at start.
https://user-images.githubusercontent.com/34353640/117567344-384f6680-b0bc-11eb-9e79-12fb39967557.mp4
Hmm... interesting. Mine flashes which, and I though it might be related to my theme or something funky on my end.
I'm curious what the highlight group is for that space before galaxyline render. Merely setting that to the default background would make the flashing almost unnoticeable.
Mine flashes too... thought I was the only one.
I only notice the flashing on my slower systems.
Same problem here.
Did you previously install and use airline on your nvim ??
Did you previously install and use airline on your nvim ??
Yes but that was on previous system installation, and before whole config rewrite.
Did you previously install and use airline on your nvim ??
Yes but that was on previous system installation, and before whole config rewrite.
Okay that's great ... will you set this on your config and see if this helps??
let g:airline_disable_statusline = 1
let g:airline_disable_statusline = 1
Nope, it don't change anything.
Never had airline here.
it's noticeable on large repositories even without git branch section config
Does anyone were able to solve this isssue? Mines flashes as well but it last longer than yours, around ~1.5 seconds. I started noticing this after updating the plugin and building the latest neovim version. I though that with the following code gl.load_galaxyline()
at the bottom would make sure to load galaxyline's components beforehand to avoid lag issues at startup, but overall the plugin is noticeable slower now.
This'll make you less painful
vim.api.nvim_command("hi StatusLine guibg=<your_background_color> guifg=<your_background_color>")
@mks1508 better than nothing at least!
Hey so I forked galaxyline very recently, added a few goodies and merged some upstream PRs. This issue is gone for me, since I removed some pseudo-async code and stopped lazy-loading galaxyline.
About startup time, it is taking less than 0.5ms to load to me, I guess I optimized it a bit much haha, feel free to give it a try.