diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-29 13:43:21 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-29 13:43:21 +0200 |
commit | 4b657d2e1bfd6c7d7c1c5252ac511e7d9e391005 (patch) | |
tree | 160eff2d2dec7b4c757fc0b813ad63fffead8b43 /lua/no-clown-fiesta | |
parent | 632ba4fc4428b6ec7f6032abbac19ce993e7b643 (diff) |
Update settings
Diffstat (limited to 'lua/no-clown-fiesta')
-rw-r--r-- | lua/no-clown-fiesta/settings.lua | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/util.lua | 2 |
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) |