add setup function

This commit is contained in:
2023-12-06 06:23:55 +01:00
parent 272d335276
commit ee8d34c0f7
4 changed files with 97 additions and 73 deletions

View File

@ -1,7 +1,7 @@
vim.g.colors_name = 'lupan'
if vim.o.background == "dark" then
package.loaded["lupancolors.lupan"] = nil
require("lush")(require("lupancolors.lupan"))
package.loaded["lupancolors.lupandark"] = nil
require("lush")(require("lupancolors.lupandark"))
else
package.loaded["lupancolors.lupanlight"] = nil
require("lush")(require("lupancolors.lupanlight"))