From a84366439f99a837404c1a22fcd3c53c711fcabd Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 9 Sep 2019 20:31:52 -0400 Subject: vim-patch:8.0.0941: existing color schemes don't like StatusLineTerm Problem: Existing color schemes don't work well with StatusLineTerm. Solution: Don't use "reverse", use fg and bg colors. Also add StatusLineTermNC. https://github.com/vim/vim/commit/05fbfdcda48a564e7a778c67251f732481f3ceaa --- src/nvim/syntax.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/syntax.c') diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 1c7ba0ce23..613c9e6d63 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -5980,6 +5980,7 @@ static const char *highlight_init_both[] = { NULL }; +// Default colors only used with a light background. static const char *highlight_init_light[] = { "ColorColumn ctermbg=LightRed guibg=LightRed", "CursorColumn ctermbg=LightGrey guibg=Grey90", @@ -6013,6 +6014,7 @@ static const char *highlight_init_light[] = { NULL }; +// Default colors only used with a dark background. static const char *highlight_init_dark[] = { "ColorColumn ctermbg=DarkRed guibg=DarkRed", "CursorColumn ctermbg=DarkGrey guibg=Grey40", -- cgit