mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(options): set default laststatus=3 and set it to 0 before loading dashboard to prevent flickering
This commit is contained in:
parent
d6b56c075e
commit
1eb019274b
2 changed files with 2 additions and 1 deletions
|
@ -316,6 +316,7 @@ return {
|
|||
return dashboard
|
||||
end,
|
||||
config = function(_, dashboard)
|
||||
vim.o.laststatus = 0
|
||||
-- close Lazy and re-open when the dashboard is ready
|
||||
if vim.o.filetype == "lazy" then
|
||||
vim.cmd.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue