galaxyline.nvim icon indicating copy to clipboard operation
galaxyline.nvim copied to clipboard

Galaxyline causes the Neovim splash screen to disappear

Open jsatk opened this issue 4 years ago • 9 comments

After extensive debugging I've realized what was causing my nvim splash screen to flicker away almost instantly was this plugin. Simply having it installed seems to do it. It didn't matter if I commented out the require('settings.galaxyline').setup() in my init.lua or not.

jsatk avatar Feb 28 '21 23:02 jsatk

There was extensive convo about this in Gitter's neovim/neovim channel around 3pm PST if you want to take a peek at that as well.

jsatk avatar Feb 28 '21 23:02 jsatk

After extensive debugging I've realized what was causing my nvim splash screen to flicker away almost instantly was this plugin.

What do you mean ? can you post a min config that can reproduce your issue?

glepnir avatar Mar 01 '21 00:03 glepnir

After extensive debugging I've realized what was causing my nvim splash screen to flicker away almost instantly was this plugin.

What do you mean ? can you post a min config that can reproduce your issue?

Minimum init.lua.

vim.cmd [[packadd packer.nvim]]

return require('packer').startup(function()
  use {'wbthomason/packer.nvim', opt = true}
  use {'glepnir/galaxyline.nvim', requires = {'kyazdani42/nvim-web-devicons', opt = true}}
end)

When I run nvim I'd expect to see default splash screen. Instead it flickers quickly and disappears.

jsatk avatar Mar 02 '21 00:03 jsatk

hmm I will check it. maybe use startify or dashboard will be a good choice.

glepnir avatar Mar 02 '21 00:03 glepnir

hmm I will check it. maybe use startify or dashboard will be a good choice.

Sure. Those are nice plugins! I actually am trying out Dashboard now. But I'd rather not install extra plugins just to have a pretty splash screen that doesn't disappear.

Thanks for looking into it.

jsatk avatar Mar 02 '21 00:03 jsatk

I'm facing the same issue. Is there any fix yet?

regexPattern avatar Apr 19 '21 04:04 regexPattern

I think the info in this comment is helpful. https://github.com/glepnir/galaxyline.nvim/issues/160#issue-881188596

jsatk avatar Jul 12 '21 21:07 jsatk

Just solved this for feline.nvim - you might find the information inside helpful.

ibhagwan avatar Jul 24 '21 21:07 ibhagwan

The problem may come from the highlight values (StatusLine and StatusLineNC) in your neovim config. Set these values to the color same as the bg and fg in the galaxyline plugin then the problem may be gone.

dinhhuy258 avatar Sep 03 '21 06:09 dinhhuy258