diff options
author | xulongwu4 <xulongwu4@gmail.com> | 2020-04-28 10:27:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 16:27:09 +0200 |
commit | 974a91906db5dda21d95c8bcd2d63ddebc060949 (patch) | |
tree | fa6ff6ee67e40d73c156e0902d224d6f861a7601 /colors | |
parent | 0ccf70b6b06fbe022109d98812657aaf54dbf65a (diff) | |
download | nord-vim-974a91906db5dda21d95c8bcd2d63ddebc060949.tar.gz |
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 <development@arcticicestudio.com>
Co-authored-by: Sven Greb <development@svengreb.de>
Diffstat (limited to 'colors')
-rwxr-xr-x | colors/nord.vim | 4 |
1 files 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", "") |