aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-09 20:31:52 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-09 20:33:18 -0400
commita84366439f99a837404c1a22fcd3c53c711fcabd (patch)
treef23901245066015b7b61da1f768bc21ca1c4cab6 /src
parent66e7a6c9fd3636cc6367f559508b072548ec17df (diff)
downloadrneovim-a84366439f99a837404c1a22fcd3c53c711fcabd.tar.gz
rneovim-a84366439f99a837404c1a22fcd3c53c711fcabd.tar.bz2
rneovim-a84366439f99a837404c1a22fcd3c53c711fcabd.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/syntax.c2
1 files changed, 2 insertions, 0 deletions
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",