chore: fix diagnostic warnings/errors

This commit is contained in:
Michael Chris Lopez
2021-10-28 18:24:46 +08:00
parent 8443403a3c
commit fb181a3a36
9 changed files with 24 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ local function write_template(path, template, values)
file:close()
end
function build(name, specs, palette, options)
local function build(name, specs, palette, options)
local exclude = options.exclude or {}
local templates = { "vim", "iterm", "kitty", "alacritty", "wezterm", "lualine", "lightline", "tmux" }
for _, t in ipairs(templates) do
@@ -218,7 +218,7 @@ local colorschemes = {
},
}
function build_from(colorscheme)
local function build_from(colorscheme)
if colorscheme.setup then
colorscheme.setup()
end