diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-20 19:03:43 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-20 19:03:43 +0100 |
commit | 4771a1b71e10c597db3352c52867a73c8831c6ef (patch) | |
tree | 7f57b78d5d321bf584cdd92491a6303a524d22e8 | |
parent | 13cc453536a7c0f916724192f2229f7198c8885f (diff) |
Load the colorscheme on setup
-rw-r--r-- | lua/no-clown-fiesta/init.lua | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lua/no-clown-fiesta/init.lua b/lua/no-clown-fiesta/init.lua index 8bad306..401f6ff 100644 --- a/lua/no-clown-fiesta/init.lua +++ b/lua/no-clown-fiesta/init.lua @@ -1,12 +1,5 @@ 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 @@ -30,4 +23,12 @@ 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 |