From 974a91906db5dda21d95c8bcd2d63ddebc060949 Mon Sep 17 00:00:00 2001 From: xulongwu4 Date: Tue, 28 Apr 2020 10:27:09 -0400 Subject: Consistent `Error` and MoreMsg highlight group consistent between console and GUI modes. (#202) Consistent `Error` and `MoreMsg` highligh. in term and GUI mode (#202) Before the `Error` group in GUI mode used `nord0` as foreground color instead of `nord4` resulting in a bad contrast. Also after checking ( links to it) Also since there was also no color defined for terminal mode for the `MoreMsg` group (see `:help MoreMsg` that link to `:help more-prompt`) Vim used the default color which was some kind of green. To ensure it matches Nord's style it has now been changed to use `nord8` (main accent color) for both terminal and GUI mode. This can be tested by running `:echon "MESSAGE\n"` taht produces a lot of lines that won't fit on the current screen space anymore. Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb --- colors/nord.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index b30a490..aa0c161 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -168,7 +168,7 @@ call s:hi("Underline", "", "", "", "", s:underline, "") call s:hi("ColorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "") call s:hi("Cursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "") call s:hi("CursorLine", "", s:nord1_gui, "NONE", s:nord1_term, "NONE", "") -call s:hi("Error", s:nord0_gui, s:nord11_gui, "", s:nord11_term, "", "") +call s:hi("Error", s:nord4_gui, s:nord11_gui, "", s:nord11_term, "", "") call s:hi("iCursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "") call s:hi("LineNr", s:nord3_gui, s:nord0_gui, s:nord3_term, "NONE", "", "") call s:hi("MatchParen", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") @@ -234,7 +234,7 @@ call s:hi("Directory", s:nord8_gui, "", s:nord8_term, "NONE", "", "") call s:hi("EndOfBuffer", s:nord1_gui, "", s:nord1_term, "NONE", "", "") call s:hi("ErrorMsg", s:nord4_gui, s:nord11_gui, "NONE", s:nord11_term, "", "") call s:hi("ModeMsg", s:nord4_gui, "", "", "", "", "") -call s:hi("MoreMsg", s:nord4_gui, "", "", "", "", "") +call s:hi("MoreMsg", s:nord8_gui, "", s:nord8_term, "", "", "") call s:hi("Question", s:nord4_gui, "", "NONE", "", "", "") if g:nord_uniform_status_lines == 0 call s:hi("StatusLine", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "NONE", "") -- cgit v1.2.3-70-g09d2