fix(options): set default laststatus=3 and set it to 0 before loading dashboard to prevent flickering

This commit is contained in:
Folke Lemaitre 2023-10-05 10:43:21 +02:00
parent d6b56c075e
commit 1eb019274b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 1 deletions

View file

@ -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()