From 2ddbb60a6db54cb901ddecf21fd9454a402f8817 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 26 Mar 2022 22:09:33 -0500 Subject: [PATCH 1/3] Highlighting in diffs --- vim/colors/onehalfdark.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/colors/onehalfdark.vim b/vim/colors/onehalfdark.vim index abbd67f..72aadee 100644 --- a/vim/colors/onehalfdark.vim +++ b/vim/colors/onehalfdark.vim @@ -70,10 +70,10 @@ call s:h("CursorLine", "", s:cursor_line, "") call s:h("LineNr", s:gutter_fg, s:gutter_bg, "") call s:h("CursorLineNr", s:fg, "", "") -call s:h("DiffAdd", s:green, "", "") -call s:h("DiffChange", s:yellow, "", "") -call s:h("DiffDelete", s:red, "", "") -call s:h("DiffText", s:blue, "", "") +call s:h("DiffAdd", s:black, s:green, "") +call s:h("DiffChange", s:black, s:yellow, "") +call s:h("DiffDelete", s:black, s:red, "") +call s:h("DiffText", s:black, s:blue, "") call s:h("IncSearch", s:bg, s:yellow, "") call s:h("Search", s:bg, s:yellow, "") From a1750000ca5514589798fcf760990324679d9f09 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 26 Mar 2022 22:21:46 -0500 Subject: [PATCH 2/3] Add vim-signify settings --- vim/colors/onehalfdark.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/colors/onehalfdark.vim b/vim/colors/onehalfdark.vim index 72aadee..bd92754 100644 --- a/vim/colors/onehalfdark.vim +++ b/vim/colors/onehalfdark.vim @@ -175,6 +175,11 @@ call s:h("GitGutterChangeDelete", s:red, s:gutter_bg, "") " Fugitive call s:h("diffAdded", s:green, "", "") call s:h("diffRemoved", s:red, "", "") +" vim-signify +call s:h("SignifySignAdd", s:green, s:gutter_bg, "") +call s:h("SignifySignDelete", s:red, s:gutter_bg, "") +call s:h("SignifySignChange", s:yellow, s:gutter_bg, "") +call s:h("SignifySignChangeDelete", s:red, s:gutter_bg, "") " } From 2483dd188b524226c1fd609771b800ce0d5eec20 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Mon, 28 Mar 2022 16:09:59 -0500 Subject: [PATCH 3/3] Add config for onehalflight too --- vim/colors/onehalflight.vim | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/vim/colors/onehalflight.vim b/vim/colors/onehalflight.vim index 288fcd0..140ae5b 100644 --- a/vim/colors/onehalflight.vim +++ b/vim/colors/onehalflight.vim @@ -70,10 +70,10 @@ call s:h("CursorLine", "", s:cursor_line, "") call s:h("LineNr", s:gutter_fg, s:gutter_bg, "") call s:h("CursorLineNr", s:fg, "", "") -call s:h("DiffAdd", s:green, "", "") -call s:h("DiffChange", s:yellow, "", "") -call s:h("DiffDelete", s:red, "", "") -call s:h("DiffText", s:blue, "", "") +call s:h("DiffAdd", s:white, s:green, "") +call s:h("DiffChange", s:white, s:yellow, "") +call s:h("DiffDelete", s:white, s:red, "") +call s:h("DiffText", s:white, s:blue, "") call s:h("IncSearch", s:bg, s:yellow, "") call s:h("Search", s:bg, s:yellow, "") @@ -175,6 +175,11 @@ call s:h("GitGutterChangeDelete", s:red, s:gutter_bg, "") " Fugitive call s:h("diffAdded", s:green, "", "") call s:h("diffRemoved", s:red, "", "") +" vim-signify +call s:h("SignifySignAdd", s:green, s:gutter_bg, "") +call s:h("SignifySignDelete", s:red, s:gutter_bg, "") +call s:h("SignifySignChange", s:yellow, s:gutter_bg, "") +call s:h("SignifySignChangeDelete", s:red, s:gutter_bg, "") " }