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

local function highlight(name, value)
  vim.api.nvim_set_hl(0, name, value)
end

function M.initialise(group)
  for name, value in pairs(group) do
    highlight(name, value)
  end
end

return M