summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta
diff options
context:
space:
mode:
Diffstat (limited to 'lua/no-clown-fiesta')
-rw-r--r--lua/no-clown-fiesta/settings.lua2
-rw-r--r--lua/no-clown-fiesta/util.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/no-clown-fiesta/settings.lua b/lua/no-clown-fiesta/settings.lua
index aa6ef7e..b1f0ff0 100644
--- a/lua/no-clown-fiesta/settings.lua
+++ b/lua/no-clown-fiesta/settings.lua
@@ -14,7 +14,7 @@ local DEFAULT = {
M.options = {}
function M.set(options)
- M.options = vim.tbl_extend("force", DEFAULT, options)
+ M.options = vim.tbl_extend("force", DEFAULT, options or {})
end
return M
diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua
index d68abc1..46e66d3 100644
--- a/lua/no-clown-fiesta/util.lua
+++ b/lua/no-clown-fiesta/util.lua
@@ -1,7 +1,7 @@
local M = {}
local function highlight(group, properties)
- vim.api.nvim_set_hl(0, group, properties or {})
+ vim.api.nvim_set_hl(0, group, properties)
end
function M.initialise(skeleton)