rasulomaroff / reactive.nvim

Reactivity. Right in your neovim.
Apache License 2.0
197 stars 1 forks source link

Initial view flash when using alpha nvim splash screen #18

Open sainttttt opened 3 months ago

sainttttt commented 3 months ago

Hi! I'm trying to use this plugin, however it produces a visual flash of the stock nvim starting screen when I use it with alpha-nvim's splash screen. Do you know of a way to fix it? Thanks!

https://github.com/user-attachments/assets/0621047d-b908-4896-a94a-dce327084a3d

rasulomaroff commented 3 months ago

Hi there @sainttttt! Not really sure how alpha.nvim works, but reactive calls the "redraw" when it needs to correctly reflect current mode/operator and it can potentially cause the side effect you're seeing

There's a neovim option called shortmess (:h 'shortmess') in which you can disable the startup screen, specifically doing this disables it for me:

vim.opt.shortmess:append('I')

Please try if it's gonna work with alpha-nvim