mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
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>
This commit is contained in:
parent
0ccf70b6b0
commit
974a91906d
|
|
@ -168,7 +168,7 @@ call s:hi("Underline", "", "", "", "", s:underline, "")
|
||||||
call s:hi("ColorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "")
|
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("Cursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "")
|
||||||
call s:hi("CursorLine", "", s:nord1_gui, "NONE", s:nord1_term, "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("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("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, "", "")
|
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("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("ErrorMsg", s:nord4_gui, s:nord11_gui, "NONE", s:nord11_term, "", "")
|
||||||
call s:hi("ModeMsg", s:nord4_gui, "", "", "", "", "")
|
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", "", "", "")
|
call s:hi("Question", s:nord4_gui, "", "NONE", "", "", "")
|
||||||
if g:nord_uniform_status_lines == 0
|
if g:nord_uniform_status_lines == 0
|
||||||
call s:hi("StatusLine", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "NONE", "")
|
call s:hi("StatusLine", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "NONE", "")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue