vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 20a4b14acfb0e8485a7426cf99fe3f4a3b0704a3 parent 080c30436fa7845e593ca052a4ec9fac078a9086 Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 28 Oct 2016 10:41:27 +0200 theme: use better defaults for color column and cursor line styles in 16 color mode Setting the background color to the same color as the text is not helpful, instead use red for the color column and underline to highlight the cursor line. Diffstat:
| M | lexers/themes/dark-16.lua | | | 4 | ++-- |
| M | lexers/themes/light-16.lua | | | 4 | ++-- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lexers/themes/dark-16.lua b/lexers/themes/dark-16.lua @@ -26,6 +26,6 @@ lexers.STYLE_IDENTIFIER = 'fore:white' lexers.STYLE_LINENUMBER = 'fore:white' lexers.STYLE_CURSOR = 'reverse' lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' -lexers.STYLE_CURSOR_LINE = 'back:white' -lexers.STYLE_COLOR_COLUMN = 'back:white' +lexers.STYLE_CURSOR_LINE = 'underlined' +lexers.STYLE_COLOR_COLUMN = 'back:red' lexers.STYLE_SELECTION = 'back:white' diff --git a/lexers/themes/light-16.lua b/lexers/themes/light-16.lua @@ -26,6 +26,6 @@ lexers.STYLE_IDENTIFIER = 'fore:black' lexers.STYLE_LINENUMBER = 'fore:black' lexers.STYLE_CURSOR = 'reverse' lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' -lexers.STYLE_CURSOR_LINE = 'back:black' -lexers.STYLE_COLOR_COLUMN = 'back:black' +lexers.STYLE_CURSOR_LINE = 'underlined' +lexers.STYLE_COLOR_COLUMN = 'back:red' lexers.STYLE_SELECTION = 'back:black'