From 0e22e98597dbd38a28cf58aec9e9c97e4d051e3f Mon Sep 17 00:00:00 2001 From: Alfred Burgess <alfred.burgess95@gmail.com> Date: Thu, 11 Apr 2024 15:21:55 +0800 Subject: [PATCH] File Renames renamed themes and dashboard lua files to not be specific to their controller. --- lua/plugins/{alpha-nvim.lua => dashboard.lua} | 0 lua/plugins/layout-config.lua | 4 ++-- lua/plugins/{catppuccin.lua => themes.lua} | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) rename lua/plugins/{alpha-nvim.lua => dashboard.lua} (100%) rename lua/plugins/{catppuccin.lua => themes.lua} (85%) diff --git a/lua/plugins/alpha-nvim.lua b/lua/plugins/dashboard.lua similarity index 100% rename from lua/plugins/alpha-nvim.lua rename to lua/plugins/dashboard.lua diff --git a/lua/plugins/layout-config.lua b/lua/plugins/layout-config.lua index 2c041a3..f8c0764 100644 --- a/lua/plugins/layout-config.lua +++ b/lua/plugins/layout-config.lua @@ -7,8 +7,8 @@ return { "nvim-lualine/lualine.nvim", dependencies = { "nvim-tree/nvim-web-devicons" }, lazy=false, - config = function() - options = { theme = "dracula" } + config = function() + local options = { theme = "dracula" } require( "lualine" ).setup( options ); end, }, diff --git a/lua/plugins/catppuccin.lua b/lua/plugins/themes.lua similarity index 85% rename from lua/plugins/catppuccin.lua rename to lua/plugins/themes.lua index 741fc4c..a25c818 100644 --- a/lua/plugins/catppuccin.lua +++ b/lua/plugins/themes.lua @@ -1,5 +1,5 @@ -- Colour Scheme -return { +local catppuccin = { "catppuccin/nvim", name = "catppuccin", priority = 1000, @@ -8,3 +8,6 @@ return { vim.cmd.colorscheme "catppuccin" end } +return { + catppuccin, +} -- GitLab