summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/util.lua
blob: 46e66d347c7057cec721340e4490541ad617825c (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)
end

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

return M