diff options
author | Erlend Lind Madsen <erlendf80@gmail.com> | 2022-07-28 12:51:31 +0200 |
---|---|---|
committer | Erlend Lind Madsen <erlendf80@gmail.com> | 2022-07-28 12:51:36 +0200 |
commit | 04360b89d2689a2fc9eccb92234309bb43a93722 (patch) | |
tree | fb175559f6289448a270ff2013acf35a7ea51ea6 | |
parent | c2ecfbf4c8bd77b559cecddc1062b13ef3f45da8 (diff) | |
download | vis-minimal-theme-04360b89d2689a2fc9eccb92234309bb43a93722.tar.gz |
no syntax highlighting for clear theme (only terminal foreground)
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | clear.lua | 45 |
2 files changed, 25 insertions, 23 deletions
@@ -7,7 +7,8 @@ We only use 3 shades of black and white. The **dark-clear** and **light-clear** themes has a transparent background, for using the terminal background and a either black or white foreground. -The **clear** theme uses a transparent background and the terminal foreground. +The **clear** theme uses a transparent background and the terminal foreground +with no syntax highlighting. ## Install @@ -1,6 +1,7 @@ -- vis-minimal-theme (https://github.com/erf/vis-minimal-theme) -- clear by Erlend Lind Madsen -- uses a transparent background and the terminal foreground +-- no syntax highlighting local black0 = '#000000' local black1 = '#383838' @@ -15,36 +16,36 @@ local clear0 = '#00000000' local lexers = vis.lexers lexers.STYLE_DEFAULT ='back:'..clear0 -lexers.STYLE_NOTHING = 'back:'..white0 -lexers.STYLE_CLASS = 'fore:'..black0 -lexers.STYLE_COMMENT = 'fore:'..white2 -lexers.STYLE_CONSTANT = 'fore:'..black0 -lexers.STYLE_DEFINITION = 'fore:'..black0 -lexers.STYLE_ERROR = 'fore:'..black0 -lexers.STYLE_FUNCTION = 'fore:'..black0 -lexers.STYLE_KEYWORD = 'fore:'..black2 -lexers.STYLE_LABEL = 'fore:'..black0 -lexers.STYLE_NUMBER = 'fore:'..black1 -lexers.STYLE_OPERATOR = 'fore:'..black0 -lexers.STYLE_REGEX = 'fore:'..black1 -lexers.STYLE_STRING = 'fore:'..black1 -lexers.STYLE_PREPROCESSOR = 'fore:'..black0 -lexers.STYLE_TAG = 'fore:'..black0 -lexers.STYLE_TYPE = 'fore:'..black0 -lexers.STYLE_VARIABLE = 'fore:'..black0 +lexers.STYLE_NOTHING = 'back:'..clear0 +lexers.STYLE_CLASS = 'fore:' +lexers.STYLE_COMMENT = 'fore:' +lexers.STYLE_CONSTANT = 'fore:' +lexers.STYLE_DEFINITION = 'fore:' +lexers.STYLE_ERROR = 'fore:' +lexers.STYLE_FUNCTION = 'fore:' +lexers.STYLE_KEYWORD = 'fore:' +lexers.STYLE_LABEL = 'fore:' +lexers.STYLE_NUMBER = 'fore:' +lexers.STYLE_OPERATOR = 'fore:' +lexers.STYLE_REGEX = 'fore:' +lexers.STYLE_STRING = 'fore:' +lexers.STYLE_PREPROCESSOR = 'fore:' +lexers.STYLE_TAG = 'fore:' +lexers.STYLE_TYPE = 'fore:' +lexers.STYLE_VARIABLE = 'fore:' lexers.STYLE_WHITESPACE = '' -lexers.STYLE_EMBEDDED = 'back:'..white1 -lexers.STYLE_IDENTIFIER = 'fore:'..black0 +lexers.STYLE_EMBEDDED = 'back:'..clear0 +lexers.STYLE_IDENTIFIER = 'fore:' -lexers.STYLE_LINENUMBER = 'fore:'..black1 +lexers.STYLE_LINENUMBER = 'fore:' lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER lexers.STYLE_CURSOR = 'back:'..white2 -lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..black1 +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR lexers.STYLE_CURSOR_LINE = 'underlined' lexers.STYLE_COLOR_COLUMN = 'back:'..white1 lexers.STYLE_SELECTION = 'back:'..white1 lexers.STYLE_STATUS = 'reverse' -lexers.STYLE_STATUS_FOCUSED = 'back:'..white1..',fore:'..black1 +lexers.STYLE_STATUS_FOCUSED = 'back:'..white1 lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT lexers.STYLE_INFO = 'fore:default,back:default' lexers.STYLE_EOF = '' |