change keyword color in vis

This commit is contained in:
kento2 2026-03-26 17:39:18 +01:00
parent 01866d38c4
commit dbfff6c594

View file

@ -5,7 +5,7 @@ local colors = {
['bg'] = '#010101', ['bg'] = '#010101',
['fg'] = '#aaaaaa', ['fg'] = '#aaaaaa',
['blk'] = '#333333', ['blk'] = '#333333',
['bblk'] = '#3d3d3d', ['bblk'] = '#4f4f4f',
['red'] = '#8c4665', ['red'] = '#8c4665',
['bred'] = '#bf4d80', ['bred'] = '#bf4d80',
['grn'] = '#287373', ['grn'] = '#287373',
@ -37,7 +37,7 @@ lexers.STYLE_DEFINITION = 'fore:'..colors.bblu -- definitions, overlaps with oth
lexers.STYLE_ERROR = 'fore:'..colors.bg..',back:'..colors.red -- syntax errors lexers.STYLE_ERROR = 'fore:'..colors.bg..',back:'..colors.red -- syntax errors
lexers.STYLE_FUNCTION = 'fore:'..colors.bblu -- functions, `void _doBar_()` lexers.STYLE_FUNCTION = 'fore:'..colors.bblu -- functions, `void _doBar_()`
lexers.STYLE_HEADING = 'fore:'..colors.bmag..',bold' -- headings, like in markdown lexers.STYLE_HEADING = 'fore:'..colors.bmag..',bold' -- headings, like in markdown
lexers.STYLE_KEYWORD = 'fore:'..colors.bred -- keywords, `_for_ (;;)` lexers.STYLE_KEYWORD = 'fore:'..colors.bmag -- keywords, `_for_ (;;)`
lexers.STYLE_LABEL = 'fore:'..colors.red -- goto &c, `_target_:` lexers.STYLE_LABEL = 'fore:'..colors.red -- goto &c, `_target_:`
lexers.STYLE_NUMBER = 'fore:'..colors.bcyn -- number constants lexers.STYLE_NUMBER = 'fore:'..colors.bcyn -- number constants
lexers.STYLE_OPERATOR = lexers.STYLE_DEFAULT -- operators, `int foo _=_ 0` lexers.STYLE_OPERATOR = lexers.STYLE_DEFAULT -- operators, `int foo _=_ 0`