From 707be04d87b1e0e5291d46c8020f80ab80df42b1 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Mon, 11 Oct 2021 13:55:01 +0800 Subject: [PATCH] bring back set bg --- colors/zenbones.vim | 1 + colors/zenflesh.vim | 1 + lua/zenbones/template/vim.lua | 2 ++ 3 files changed, 4 insertions(+) diff --git a/colors/zenbones.vim b/colors/zenbones.vim index a0c4f51..5eb3a28 100644 --- a/colors/zenbones.vim +++ b/colors/zenbones.vim @@ -5,6 +5,7 @@ if exists('g:colors_name') set t_Co=256 endif +set background=light let g:colors_name = 'zenbones' let g:terminal_color_0 = '#F0EDEC' diff --git a/colors/zenflesh.vim b/colors/zenflesh.vim index 5a6d9cf..bdd9152 100644 --- a/colors/zenflesh.vim +++ b/colors/zenflesh.vim @@ -5,6 +5,7 @@ if exists('g:colors_name') set t_Co=256 endif +set background=dark let g:colors_name = 'zenflesh' let g:terminal_color_0 = '#1C1918' diff --git a/lua/zenbones/template/vim.lua b/lua/zenbones/template/vim.lua index e19c938..2a14494 100644 --- a/lua/zenbones/template/vim.lua +++ b/lua/zenbones/template/vim.lua @@ -5,6 +5,7 @@ if exists('g:colors_name') set t_Co=256 endif +set background=${background} let g:colors_name = '${name}' ${termcolors} @@ -55,6 +56,7 @@ return function(name, specs, p) { name = name, specs_path = name, + background = name == "zenbones" and "light" or "dark", termcolors = termcolors, vimcolors = vimcolors, },