convert rosebones to new specs generator

This commit is contained in:
Michael Chris Lopez
2021-10-08 17:49:38 +08:00
parent e98281e063
commit 6edb6b666e
6 changed files with 64 additions and 59 deletions

View File

@@ -29,4 +29,22 @@ function M.build(name, specs, palette, terminal, options)
end
end
function M.resolve_config(base_name)
if base_name == "zenbones" then
return {
lightness = vim.g.zenbones_lightness,
comment_gui = vim.g.zenbones_italic_comments ~= false and "italic" or "NONE",
dim_noncurrent_window = vim.g.zenbones_dim_noncurrent_window,
solid_vert_split = vim.g.zenbones_solid_vert_split,
}
else
return {
darkness = vim.g.zenflesh_darkness,
comment_gui = vim.g.zenflesh_italic_comments ~= false and "italic" or "NONE",
lighten_noncurrent_window = vim.g.zenflesh_lighten_noncurrent_window,
solid_vert_split = vim.g.zenflesh_solid_vert_split,
}
end
end
return M