From a5d8bf14ec6c96bccc6e2dcf95cc6f108d3e5bc1 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Sun, 31 Oct 2021 15:16:12 +0800 Subject: [PATCH] feat(build)!: copy cterm from gui lush option --- lua/zenbones/template/vim.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/zenbones/template/vim.lua b/lua/zenbones/template/vim.lua index 53be461..91a529c 100644 --- a/lua/zenbones/template/vim.lua +++ b/lua/zenbones/template/vim.lua @@ -48,7 +48,11 @@ return function(name, specs, p, opt) end -- Compile lush table, concatenate to a single string, and remove blend property - local vimcolors = table.concat(vim.fn.sort(lush.compile(specs, { exclude_keys = { "blend" } })), "\n") + local compiled = lush.compile(specs, { + exclude_keys = { "blend" }, + copy_cterm_from_gui = true, + }) + local vimcolors = table.concat(vim.fn.sort(compiled), "\n") return { string.format("colors/%s.vim", name),