summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/settings.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 12:15:16 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 12:15:16 +0200
commitdec91c292e4c94b30ab3e749ef5464ee165f9e8b (patch)
tree0a5be9c1c3e4247fa8e4d3470deafd7c809f6917 /lua/no-clown-fiesta/settings.lua
parent3234b296d7f70cc78ac37a51fc3cff28e7871812 (diff)
Update loading of colorscheme
Diffstat (limited to 'lua/no-clown-fiesta/settings.lua')
-rw-r--r--lua/no-clown-fiesta/settings.lua23
1 files changed, 13 insertions, 10 deletions
diff --git a/lua/no-clown-fiesta/settings.lua b/lua/no-clown-fiesta/settings.lua
index e41380c..a289600 100644
--- a/lua/no-clown-fiesta/settings.lua
+++ b/lua/no-clown-fiesta/settings.lua
@@ -1,17 +1,20 @@
local M = {}
-local palette = require "no-clown-fiesta.palette"
-local default = {
- transparent_background = palette.bg,
- comments = "NONE",
- keywords = "NONE",
- functions = "NONE",
- variables = "NONE",
- type = "NONE",
+local DEFAULT = {
+ transparent = false,
+ styles = {
+ comments = {},
+ keywords = {},
+ functions = {},
+ variables = {},
+ type = { bold = true },
+ },
}
-function M.set(opts)
- return vim.tbl_extend("force", default, opts)
+M.options = {}
+
+function M.setup(options)
+ M.options = vim.tbl_extend("force", DEFAULT, options)
end
return M