initial shipwright integration

This commit is contained in:
Michael Chris Lopez
2021-11-05 14:43:28 +08:00
parent 265ab617de
commit 3ef0de509c
5 changed files with 91 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
run(
{ specs, p, term },
transform.colorscheme_to_term_colors,
contrib.alacritty,
{ prepend, "# This file is auto-generated by shipwright.nvim", },
{ overwrite, string.format("extras/alacritty/%s.yml", name) }
)

View File

@@ -0,0 +1,22 @@
run(
{ specs, p, term },
transform.colorscheme_to_term_colors,
function(colors)
return vim.tbl_extend("keep", colors, {
name = name,
author = "Michael Chris Lopez",
license = "MIT",
upstream = string.format("https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/%s.conf", name),
selection_bg = specs.Visual.bg.hex,
selection_fg = colors.fg,
url_color = term[13].hex,
tab_active_bg = specs.Search.bg.hex,
tab_active_fg = colors.fg,
tab_inactive_bg = specs.StatusLine.bg.hex,
tab_inactive_fg = colors.fg,
})
end,
contrib.kitty,
{ prepend, "# This file is auto-generated by shipwright.nvim" },
{ overwrite, string.format("extras/kitty/%s.conf", name) }
)