remove neovim .vim

This commit is contained in:
Michael Chris Lopez
2021-09-21 21:21:42 +08:00
parent 4fa79603c3
commit f93f15b634
4 changed files with 11 additions and 434 deletions

View File

@@ -19,10 +19,13 @@ local function write_template(path, template, values)
file:close()
end
function M.build(name, specs, palette, terminal)
function M.build(name, specs, palette, terminal, options)
local exclude = options.exclude or {}
local templates = { "vim", "kitty", "alacritty", "wezterm", "lualine", "lightline", "tmux" }
for _, t in ipairs(templates) do
write_template(unpack(require("zenbones.template." .. t)(name, specs, palette, terminal)))
if not vim.tbl_contains(exclude, t) then
write_template(unpack(require("zenbones.template." .. t)(name, specs, palette, terminal)))
end
end
end