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

This commit is contained in:
Folke Lemaitre committed 2023-10-05 10:43:21 +02:00
1 parent d6b56c075e
commit 1eb019274b
2 files changed
+2 -1

No files matched your search

+1
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()