summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/settings.lua
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2022-07-29 17:51:29 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-29 17:54:41 +0200
commit4e2317da2b50a30fb64024d7d59f94881e27a609 (patch)
tree5731a5f2c934fe2da5b79aef24f708590af67ae0 /lua/no-clown-fiesta/settings.lua
parentda502c2571b710791b29c82a77cbe577791b14df (diff)
Update configuration api (#5)
* Refactor * Fix opts * Fix plugin typos * Update readme BREAKING CHANGE: Configuration api updated.
Diffstat (limited to 'lua/no-clown-fiesta/settings.lua')
-rw-r--r--lua/no-clown-fiesta/settings.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/settings.lua b/lua/no-clown-fiesta/settings.lua
new file mode 100644
index 0000000..e41380c
--- /dev/null
+++ b/lua/no-clown-fiesta/settings.lua
@@ -0,0 +1,17 @@
+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",
+}
+
+function M.set(opts)
+ return vim.tbl_extend("force", default, opts)
+end
+
+return M