add setup function

This commit is contained in:
lupan committed 2023-12-06 07:15:18 +01:00
1 parent 272d335276
commit ee8d34c0f7
4 files changed
+97 -73

No files matched your search

+2 -2
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"))