vis-config

lua scripts to configure vis editor

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

commit b0e0c5c7791bd13b9868b824f1f8c6463dc019d7
parent 171b7ee66c07c9bad8655c5aac77641a6bec7448
Author: Jul <jul@9o.is>
Date:   Thu, 19 Mar 2026 12:18:37 +0800

use dim instead of gray in themes

Diffstat:
Mthemes/base16.lua | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/themes/base16.lua b/themes/base16.lua @@ -4,7 +4,6 @@ local c = { green = 'green', red = 'red', yellow = 'yellow', - 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 = 'yellow', } @@ -13,7 +12,7 @@ lexers.STYLE_DEFAULT ='' lexers.STYLE_NOTHING = '' lexers.STYLE_ATTRIBUTE = '' lexers.STYLE_CLASS = 'fore:'..c.blue -lexers.STYLE_COMMENT = 'fore:'..c.gray +lexers.STYLE_COMMENT = 'dim' lexers.STYLE_CONSTANT = '' lexers.STYLE_DEFINITION = '' lexers.STYLE_ERROR = 'fore:'..c.red @@ -33,7 +32,7 @@ lexers.STYLE_WHITESPACE = '' lexers.STYLE_EMBEDDED = '' lexers.STYLE_IDENTIFIER = '' -lexers.STYLE_LINENUMBER = 'fore:'..c.gray +lexers.STYLE_LINENUMBER = 'dim' lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER lexers.STYLE_CURSOR = 'reverse,fore:'..c.cursor lexers.STYLE_CURSOR_PRIMARY = 'reverse,fore:'..c.primary_cursor @@ -42,9 +41,9 @@ lexers.STYLE_COLOR_COLUMN = '' lexers.STYLE_SELECTION = 'reverse' lexers.STYLE_STATUS = 'reverse' lexers.STYLE_STATUS_FOCUSED = 'reverse,bold' -lexers.STYLE_SEPARATOR = 'fore:'..c.gray +lexers.STYLE_SEPARATOR = 'dim' lexers.STYLE_INFO = 'bold' -lexers.STYLE_EOF = 'fore:'..c.gray +lexers.STYLE_EOF = 'dim' -- lexer specific styles