dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: d189cc87262a4f88f2d385f48e9ec614344d9321
Parent: 6d5f3604ddf222315c455b6f22c0b42e845b0db5
Author: Randy Palamar
Date:   Mon,  5 May 2025 05:39:49 -0600

vis: term.lua: try coloured constants

Diffstat:
M.config/vis/themes/term.lua | 29+++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/.config/vis/themes/term.lua b/.config/vis/themes/term.lua @@ -2,27 +2,32 @@ local lexers = vis.lexers local grey0 = '#555551' +local comment = 'dim' +local constant = 'fore:blue' +local keyword = 'bold' +local operator = 'fore:yellow' + lexers.STYLE_DEFAULT = '' lexers.STYLE_NOTHING = '' -lexers.STYLE_ATTRIBUTE = 'bold' -lexers.STYLE_CLASS = 'bold' -lexers.STYLE_COMMENT = 'dim' -lexers.STYLE_CONSTANT = '' +lexers.STYLE_ATTRIBUTE = keyword +lexers.STYLE_CLASS = keyword +lexers.STYLE_COMMENT = comment +lexers.STYLE_CONSTANT = constant lexers.STYLE_DEFINITION = '' lexers.STYLE_ERROR = 'fore:red' lexers.STYLE_FUNCTION = '' lexers.STYLE_FUNCTION_BUILTIN = lexers.STYLE_FUNCTION lexers.STYLE_FUNCTION_METHOD = lexers.STYLE_FUNCTION -lexers.STYLE_HEADING = 'bold' -lexers.STYLE_KEYWORD = 'bold' -lexers.STYLE_LABEL = 'bold' -lexers.STYLE_NUMBER = '' -lexers.STYLE_OPERATOR = 'fore:yellow' +lexers.STYLE_HEADING = keyword +lexers.STYLE_KEYWORD = keyword +lexers.STYLE_LABEL = keyword +lexers.STYLE_NUMBER = constant +lexers.STYLE_OPERATOR = operator lexers.STYLE_REGEX = '' -lexers.STYLE_STRING = '' -lexers.STYLE_PREPROCESSOR = 'bold' +lexers.STYLE_STRING = constant +lexers.STYLE_PREPROCESSOR = keyword lexers.STYLE_TAG = '' -lexers.STYLE_TYPE = 'bold' +lexers.STYLE_TYPE = '' lexers.STYLE_VARIABLE = '' lexers.STYLE_WHITESPACE = '' lexers.STYLE_EMBEDDED = ''