From b964f00e9a31ca26bf4d2c9fe0d525351696a36e Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Fri, 20 Dec 2024 14:13:24 +0100 Subject: [PATCH] Fix: wrong package imports in colors.lua --- colors/shades_of_purple.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/colors/shades_of_purple.lua b/colors/shades_of_purple.lua index 06db124..3dc03dc 100644 --- a/colors/shades_of_purple.lua +++ b/colors/shades_of_purple.lua @@ -1,6 +1,6 @@ -- You probably always want to set this in your vim file -vim.opt.background = 'dark' -vim.g.colors_name = 'shades_of_purple' +vim.opt.background = "dark" +vim.g.colors_name = "shades_of_purple" -- By setting our module to nil, we clear lua's cache, -- which means the require ahead will *always* occur. @@ -14,8 +14,9 @@ vim.g.colors_name = 'shades_of_purple' -- -- The performance impact of this call can be measured in the hundreds of -- *nanoseconds* and such could be considered "production safe". -package.loaded['lush_theme.shades_of_purple'] = nil +-- +-- +-- package.loaded['lush_theme.shades_of_purple'] = nil -- include our theme file and pass it to lush to apply -require('lush')(require('lush_theme.shades_of_purple')) - +require("lush")(require("lush_theme.shades_of_purple"))