From f75c24c3bd47537d8ab9beadead84544ae956140 Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Fri, 24 Mar 2017 16:43:23 -0400 Subject: [PATCH] Change `IncSearch` styling so that it's different from `Search`. Fixes #94. --- build/templates/onedark.template.vim | 2 +- colors/onedark.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/templates/onedark.template.vim b/build/templates/onedark.template.vim index 5b123b1..9fc656c 100644 --- a/build/templates/onedark.template.vim +++ b/build/templates/onedark.template.vim @@ -197,7 +197,7 @@ call s:h("VertSplit", { "fg": s:vertsplit }) " the column separating vertically call s:h("Folded", { "fg": s:comment_grey }) " line used for closed folds call s:h("FoldColumn", {}) " 'foldcolumn' call s:h("SignColumn", {}) " column where signs are displayed -call s:h("IncSearch", { "fg": s:black, "bg": s:yellow }) " 'incsearch' highlighting; also used for the text replaced with ":s///c" +call s:h("IncSearch", { "fg": s:yellow, "bg": s:comment_grey }) " 'incsearch' highlighting; also used for the text replaced with ":s///c" call s:h("LineNr", { "fg": s:gutter_fg_grey }) " Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. call s:h("CursorLineNr", {}) " Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. call s:h("MatchParen", { "fg": s:blue, "gui": "underline" }) " The character under the cursor or just before it, if it is a paired bracket, and its match. diff --git a/colors/onedark.vim b/colors/onedark.vim index e1597b7..4f91418 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -197,7 +197,7 @@ call s:h("VertSplit", { "fg": s:vertsplit }) " the column separating vertically call s:h("Folded", { "fg": s:comment_grey }) " line used for closed folds call s:h("FoldColumn", {}) " 'foldcolumn' call s:h("SignColumn", {}) " column where signs are displayed -call s:h("IncSearch", { "fg": s:black, "bg": s:yellow }) " 'incsearch' highlighting; also used for the text replaced with ":s///c" +call s:h("IncSearch", { "fg": s:yellow, "bg": s:comment_grey }) " 'incsearch' highlighting; also used for the text replaced with ":s///c" call s:h("LineNr", { "fg": s:gutter_fg_grey }) " Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. call s:h("CursorLineNr", {}) " Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. call s:h("MatchParen", { "fg": s:blue, "gui": "underline" }) " The character under the cursor or just before it, if it is a paired bracket, and its match.