vis-config

lua scripts to configure vis editor

git clone https://9o.is/git/vis-config.git

commit f648c35fea1988a711aa079c383e715fe4a53395
parent 3f6b845be4d705fa7ccc8162b8ae0ef7439221c3
Author: Jul <jul@9o.is>
Date:   Mon, 26 Jan 2026 02:40:33 -0500

use color_base* env vars for theme colors

Diffstat:
Mthemes/base16.lua | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/themes/base16.lua b/themes/base16.lua @@ -4,9 +4,9 @@ local c = { green = 'green', red = 'red', yellow = 'yellow', - gray = os.getenv('C03') and '#'..os.getenv('C03') or 'black', - cursor = os.getenv('C04') and '#'..os.getenv('C04') or 'white', - primary_cursor = os.getenv('C06') and '#'..os.getenv('C06') or 'white', + gray = os.getenv('color_base03') and '#'..os.getenv('color_base03') or 'black', + cursor = os.getenv('color_base04') and '#'..os.getenv('color_base04') or 'white', + primary_cursor = os.getenv('color_base06') and '#'..os.getenv('color_base06') or 'white', } lexers.STYLE_DEFAULT =''