Fix: wrong package imports in colors.lua

This commit is contained in:
Barna Máté 2024-12-20 14:13:24 +01:00
parent 95de8b2780
commit b964f00e9a

View file

@ -1,6 +1,6 @@
-- You probably always want to set this in your vim file -- You probably always want to set this in your vim file
vim.opt.background = 'dark' vim.opt.background = "dark"
vim.g.colors_name = 'shades_of_purple' vim.g.colors_name = "shades_of_purple"
-- By setting our module to nil, we clear lua's cache, -- By setting our module to nil, we clear lua's cache,
-- which means the require ahead will *always* occur. -- 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 -- The performance impact of this call can be measured in the hundreds of
-- *nanoseconds* and such could be considered "production safe". -- *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 -- 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"))