mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 13:22:13 +02:00
initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
return function(_, opts)
|
||||
require("alpha").setup(opts.config)
|
||||
|
||||
vim.api.nvim_create_autocmd("UIEnter", {
|
||||
callback = function()
|
||||
local stats = require("lazy").stats()
|
||||
local ms = math.floor(stats.startuptime * 100 + 0.5) / 100
|
||||
opts.section.footer.val =
|
||||
{ " ", " ", " ", "AstroNvim loaded " .. stats.count .. " plugins in " .. ms .. "ms" }
|
||||
opts.section.footer.opts.hl = "DashboardFooter"
|
||||
end,
|
||||
})
|
||||
end
|
||||
Reference in New Issue
Block a user