summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/util.lua
blob: d68abc19398d525e17429891373601c4ce054a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
local M = {}

local function highlight(group, properties)
  vim.api.nvim_set_hl(0, group, properties or {})
end

function M.initialise(skeleton)
  for group, properties in pairs(skeleton) do
    highlight(group, properties)
  end
end

return M