add tmux runner

This commit is contained in:
Michael Chris Lopez
2021-11-06 11:37:47 +08:00
parent 4674c87cf8
commit 29340b7e22
2 changed files with 33 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ local check_keys = {
"replace_a_bg",
}
local function transform(colors)
local function to_lualine(colors)
for _, key in ipairs(check_keys) do
assert(colors[key], "lualine colors table missing key: " .. key)
end
@@ -77,7 +77,7 @@ end
run(
specs,
specs_to_colors,
transform,
to_lualine,
{ prepend, "-- This file is auto-generated by shipwright.nvim" },
{ overwrite, string.format("lua/lualine/themes/%s.lua", name) }
)