(alpha): Remove lazy loading

This commit is contained in:
rajvatsal 2024-01-08 13:32:48 +05:30
parent 8c9babcc4e
commit 23d84a8a99
1 changed files with 2 additions and 1 deletions

View File

@ -292,6 +292,7 @@ end
return { return {
'goolord/alpha-nvim', 'goolord/alpha-nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- removing fortune from dependencies fixed the highlighting(only for predefined highlights) dependencies = { 'nvim-tree/nvim-web-devicons' }, -- removing fortune from dependencies fixed the highlighting(only for predefined highlights)
lazy = false,
config = function() config = function()
local alpha = require("alpha") local alpha = require("alpha")
local dashboard = require("alpha.themes.dashboard") local dashboard = require("alpha.themes.dashboard")
@ -313,7 +314,7 @@ return {
handle:close()]] handle:close()]]
dashboard.section.footer.val = require('alpha.fortune')() dashboard.section.footer.val = require('alpha.fortune')()
dashboard.section.header.opts.hl = "DevIconScss" -- "DeviconNPMrc"(red) dashboard.section.header.opts.hl = "DevIconScss" -- "DeviconNPMrc"(red)
dashboard.section.buttons.opts.hl = "debug" dashboard.section.buttons.opts.hl = "Debug"
dashboard.section.footer.opts.hl = "Comment" dashboard.section.footer.opts.hl = "Comment"
dashboard.config.opts.noautocmd = true dashboard.config.opts.noautocmd = true