summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-20 19:20:34 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-20 19:20:34 +0100
commit7dc58e7ceab03682b7f2ac2bcf6903273a7fe9ba (patch)
treeace2ee33f8d95ddd23d38415b700e1c34e5c4f4a /lua
parent4771a1b71e10c597db3352c52867a73c8831c6ef (diff)
Revert load colorscheme on setup
4771a1b 'Load the colorscheme on setup'
Diffstat (limited to 'lua')
-rw-r--r--lua/no-clown-fiesta/init.lua15
1 files changed, 7 insertions, 8 deletions
diff --git a/lua/no-clown-fiesta/init.lua b/lua/no-clown-fiesta/init.lua
index 401f6ff..8bad306 100644
--- a/lua/no-clown-fiesta/init.lua
+++ b/lua/no-clown-fiesta/init.lua
@@ -1,5 +1,12 @@
local M = {}
+function M.setup(opts)
+ local settings = require "no-clown-fiesta.settings"
+ if opts then
+ settings.set(opts)
+ end
+end
+
function M.load()
local settings = require "no-clown-fiesta.settings"
local opts = settings.opts
@@ -23,12 +30,4 @@ function M.load()
end
end
-function M.setup(opts)
- local settings = require "no-clown-fiesta.settings"
- if opts then
- settings.set(opts)
- end
- M.load()
-end
-
return M