changeset 11541:3bc4fb330d07 v8.0.0653

patch 8.0.0653: the default highlight for QuickFixLine is not good commit https://github.com/vim/vim/commit/c768a208ca8e0e0fec900c18d5d9a593357ad793 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 22 16:04:27 2017 +0200 patch 8.0.0653: the default highlight for QuickFixLine is not good Problem: The default highlight for QuickFixLine does not work for several color schemes. (Manas Thakur) Solution: Make the default use the old color. (closes #1780)
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Jun 2017 16:15:03 +0200
parents 1bbefae25cfe
children 3d17be8e9d2d
files src/syntax.c src/version.c
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -6909,6 +6909,7 @@ static char *(highlight_init_both[]) =
 	"Cursor guibg=fg guifg=bg",
 	"lCursor guibg=fg guifg=bg", /* should be different, but what? */
 #endif
+	"default link QuickFixLine Search",
 	NULL
     };
 
@@ -6997,8 +6998,6 @@ static char *(highlight_init_light[]) =
 #ifdef FEAT_GUI
 	"Normal gui=NONE",
 #endif
-	CENT("QuickFixLine term=reverse ctermbg=Cyan",
-	     "QuickFixLine term=reverse ctermbg=Cyan guibg=Cyan"),
 	NULL
     };
 
@@ -7084,8 +7083,6 @@ static char *(highlight_init_dark[]) =
 	CENT("Conceal ctermbg=DarkGrey ctermfg=LightGrey",
 	     "Conceal ctermbg=DarkGrey ctermfg=LightGrey guibg=DarkGrey guifg=LightGrey"),
 #endif
-	CENT("QuickFixLine term=reverse ctermbg=Cyan",
-	     "QuickFixLine term=reverse ctermbg=Cyan guibg=Cyan"),
 #ifdef FEAT_GUI
 	"Normal gui=NONE",
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    653,
+/**/
     652,
 /**/
     651,