Open fitrh opened 2 years ago
https://github.com/nvim-lualine/lualine.nvim/issues/259#issuecomment-1200083574
Intro gets cleared on first redraw and setting stl in scheduled function seems to act as a redraw.
I've asked the nvim devs . It's a bug in neovim.
Any updates?
Any updates?
No it's a low priority issue for neovim. Most likely I'll have to fix it myself but I don't currently have time for this. You can try out the dashboard like plugins to give you a nicer intro if you find this annoying the default one doesn't really provide much info. Since this can't be fixed in lualines side I think this will take a while to get resolved.
This was fixed on my latest build (7fc5f66)
Still having the same problem, with the latest lualine and neovim v0.9.0-dev-3-gafb7efb373.
@yannjor can you reproduce it using the minimal config?
Yes, I removed everything from my config leaving only require("lualine").setup()
and still the same.
I can confirm it, it's weird, my full config does not have the issue but the minimal config has
Same here
Disabling separators keeps the intro screen up for me. @fitrh @Tony-Sol any chance this explains the difference between your full config and the minimal config?
@ryanburda you are right, I didn't realize it since I always disable the separator, the following setup doesn't have this issue
nvim --clean \
-c 'packadd lualine.nvim' \
-c 'lua require("lualine").setup({ options = { section_separators = "", component_separators = "" } })'
Solution with empty separators is not working for me - it skips intro screen even with empty require('lualine').setup {}
Full config here: https://github.com/Tony-Sol/.config/blob/master/nvim/lua/configs.lua
UPD 29.07.2023
After switch from packer to lazy.nvim, solution with empty string as section separators works for me. Still keep looking how to save desired separators and start screen
In my case startup screen is displayed by only set options.section_separators = ''
I noticed it works if you call require('lualine').setup
from after/plugin
.
options.section_separators = ''
also works for me. But of course I don't want that. I like having separators.
I was not sure what was causing this issue. I came here looking for something else but found this issue. Its happening to me and I was trying to fix it but nothing mentioned above worked for me.
Also experiencing this issue.
Same here. However, Neovide 0.12.2 (on Windows 10) doesn't show this behavior, independent of the no-multigrid
setting.
To my understanding, Neovide is just a "client"; is it possible that the issue could be patched outside of nvim upstream after all?
Self Checks
How to reproduce the problem
--clean
option and load lualineExpected behaviour
Neovim opens with an intro screen
Actual behaviour
The intro screen cleared immediately
Minimal config to reproduce the issue
No need for minimal config as the reproduction steps mimic a fresh install of neovim and skip all initialization step