From 58b182d9287046db544ce7710b2ac9aa930f78f2 Mon Sep 17 00:00:00 2001 From: rajvatsal Date: Sun, 7 Jan 2024 13:02:46 +0530 Subject: [PATCH] feat(colorbuddy): Set lazy loading to true --- lua/custom/plugins/alpha.lua | 6 +++--- lua/custom/plugins/colorbuddy.lua | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lua/custom/plugins/alpha.lua b/lua/custom/plugins/alpha.lua index 7e3e935c..6cddcf30 100644 --- a/lua/custom/plugins/alpha.lua +++ b/lua/custom/plugins/alpha.lua @@ -283,7 +283,7 @@ return { local fortunes = { ' \nI\'m sick of following my dreams, man. I\'m just going\nto ask where they\'re going and hook up with ’em later.\n \n—Mitch Hedberg', ' \nBefore you criticize someone, you should walk a mile in\ntheir shoes. That way when you criticize them, you are a\nmile away from them and you have their shoes. \n \n—Jack Handey', - ' \nBefore you marry a person, you should first make them use\na computer with slow Internet to see who they really are.\n \n—Will Ferrell', + 'Before you marry a person, you should first make them use a computer with slow Internet to see who they really are. —Will Ferrell', ' \nCommon sense is like deodorant. The people who need it\nmost never use it.\n \n—Anonymous', ' \nHere’s all you have to know about men and women: Women\nare crazy, men are stupid. And the main reason women\nare crazy is that men are stupid.\n \n—George Carlin', ' \nCal: “You are really pushing my buttons today.”\nBecky: “Which one is \'mute \'?”\n \n—Waitress, the Musical', @@ -313,10 +313,10 @@ return { --[[local handle = assert(io.popen('fortune -s')) local fortune = handle:read("*all") handle:close()]] - dashboard.section.footer.val = getFortune() -- ('alpha.fortune')() + dashboard.section.footer.val = getFortune() -- require('alpha.fortune')() dashboard.section.header.opts.hl = "Error" dashboard.section.buttons.opts.hl = "Debug" - dashboard.section.footer.opts.hl = "Conceal" + dashboard.section.footer.opts.hl = "Constant" dashboard.config.opts.noautocmd = true vim.cmd [[autocmd User AlphaReady echo 'ready']] diff --git a/lua/custom/plugins/colorbuddy.lua b/lua/custom/plugins/colorbuddy.lua index 60f8aa92..c467a5e7 100644 --- a/lua/custom/plugins/colorbuddy.lua +++ b/lua/custom/plugins/colorbuddy.lua @@ -4,5 +4,6 @@ return { -- local Color, colors, Group, groups, styles = require('colorbuddy').setup() -- Pallet: https://base16.vercel.app/previews/base16-twilight -- https://github.com/goolord/alpha-nvim/discussions/16#:~:text=I%27m%20not%20quite%20satisfied%20with%20the%20layout%20yet%2C%20I%20started%20out%20with%20some%20colours%20but%20ended%20up%20omitting%20them%20for%20simplicity.%20Here%27s%20what%20it%20looks%20like%20so%20far%3A - end + end, + lazy = true }