diff options
Diffstat (limited to 'lua/no-clown-fiesta/util.lua')
-rw-r--r-- | lua/no-clown-fiesta/util.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua index 46e66d3..e88d742 100644 --- a/lua/no-clown-fiesta/util.lua +++ b/lua/no-clown-fiesta/util.lua @@ -1,12 +1,12 @@ local M = {} -local function highlight(group, properties) - vim.api.nvim_set_hl(0, group, properties) +local function highlight(name, value) + vim.api.nvim_set_hl(0, name, value) end -function M.initialise(skeleton) - for group, properties in pairs(skeleton) do - highlight(group, properties) +function M.initialise(group) + for name, value in pairs(group) do + highlight(name, value) end end |