Initial Commit

This commit is contained in:
Henrik Hautakoski 2026-05-17 16:26:31 +02:00
commit 694515c168
16 changed files with 1325 additions and 0 deletions

22
lua/skift/config.lua Normal file
View file

@ -0,0 +1,22 @@
---@class Config
local defaults = {
transparent = false,
bold = true,
italic = true,
italic_comments = true,
on_colors = function(colors) end,
on_highlights = function(highlights, colors) end,
}
---@return Config
local config = {}
function config:merge(other)
for key, value in pairs(other or {}) do
self[key] = value
end
end
return setmetatable(config, {
__index = defaults,
})