From 03ceb7943b7f28c0b52803d64f956ca549e2cc03 Mon Sep 17 00:00:00 2001 From: Philipp Emanuel Weidmann Date: Sat, 10 Jun 2017 20:15:36 +0530 Subject: More theme improvements --- lua/themes/dark-16.lua | 1 + lua/themes/light-16.lua | 1 + lua/themes/solarized.lua | 3 ++- lua/vis.lua | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/themes/dark-16.lua b/lua/themes/dark-16.lua index fcfc1f8..fd7e1db 100644 --- a/lua/themes/dark-16.lua +++ b/lua/themes/dark-16.lua @@ -24,6 +24,7 @@ lexers.STYLE_EMBEDDED = 'back:blue,bold' lexers.STYLE_IDENTIFIER = 'fore:white' lexers.STYLE_LINENUMBER = 'fore:white' +lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER lexers.STYLE_CURSOR = 'reverse' lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' lexers.STYLE_CURSOR_LINE = 'underlined' diff --git a/lua/themes/light-16.lua b/lua/themes/light-16.lua index cf72f7f..53d0e45 100644 --- a/lua/themes/light-16.lua +++ b/lua/themes/light-16.lua @@ -24,6 +24,7 @@ lexers.STYLE_EMBEDDED = 'back:blue,bold' lexers.STYLE_IDENTIFIER = 'fore:black' lexers.STYLE_LINENUMBER = 'fore:black' +lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER lexers.STYLE_CURSOR = 'reverse' lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' lexers.STYLE_CURSOR_LINE = 'underlined' diff --git a/lua/themes/solarized.lua b/lua/themes/solarized.lua index 559902c..a5d4c4d 100644 --- a/lua/themes/solarized.lua +++ b/lua/themes/solarized.lua @@ -46,11 +46,12 @@ lexers.STYLE_PREPROCESSOR = 'fore:'..colors.orange lexers.STYLE_TAG = 'fore:'..colors.red lexers.STYLE_TYPE = 'fore:'..colors.yellow lexers.STYLE_VARIABLE = 'fore:'..colors.blue -lexers.STYLE_WHITESPACE = '' +lexers.STYLE_WHITESPACE = 'fore:'..colors.base01 lexers.STYLE_EMBEDDED = 'back:blue' lexers.STYLE_IDENTIFIER = fg lexers.STYLE_LINENUMBER = 'fore:'..colors.base00..',back:'..colors.base02 +lexers.STYLE_LINENUMBER_CURSOR = 'back:'..colors.base00..',fore:'..colors.base02 lexers.STYLE_CURSOR = 'fore:'..colors.base03..',back:'..colors.base0 lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',back:yellow' lexers.STYLE_CURSOR_LINE = 'back:'..colors.base02 diff --git a/lua/vis.lua b/lua/vis.lua index c7738e9..870fc52 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -243,6 +243,7 @@ vis.types.window.set_syntax = function(win, syntax) win:style_define(win.STYLE_CURSOR_LINE, lexers.STYLE_CURSOR_LINE or '') win:style_define(win.STYLE_SELECTION, lexers.STYLE_SELECTION or '') win:style_define(win.STYLE_LINENUMBER, lexers.STYLE_LINENUMBER or '') + win:style_define(win.STYLE_LINENUMBER_CURSOR, lexers.STYLE_LINENUMBER_CURSOR or '') win:style_define(win.STYLE_COLOR_COLUMN, lexers.STYLE_COLOR_COLUMN or '') win:style_define(win.STYLE_STATUS, lexers.STYLE_STATUS or '') win:style_define(win.STYLE_STATUS_FOCUSED, lexers.STYLE_STATUS_FOCUSED or '') -- cgit v1.2.3