diff options
Diffstat (limited to 'colors')
-rwxr-xr-x | colors/nord.vim | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/colors/nord.vim b/colors/nord.vim index 3b30d93..1c394ef 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -52,6 +52,10 @@ if !exists('g:nord_italic_comments') let g:nord_italic_comments = 0 endif +if !exists('g:nord_statusline_uniform') + let g:nord_statusline_uniform = 0 +endif + function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) let l:attr = a:attr if g:nord_italic_comments == 0 && l:attr ==? 'italic' @@ -127,8 +131,13 @@ 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("Question", s:nord4_gui, "", "NONE", "", "", "") -call s:hi("StatusLine", s:nord4_gui, s:nord0_gui, s:nord8_term, s:nord1_term, "NONE", "") -call s:hi("StatusLineNC", s:nord4_gui, s:nord0_gui, s:nord8_term, "NONE", "NONE", "") +if g:nord_statusline_uniform == 0 + call s:hi("StatusLine", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "NONE", "") + call s:hi("StatusLineNC", s:nord4_gui, s:nord1_gui, "NONE", s:nord1_term, "NONE", "") +else + call s:hi("StatusLine", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "NONE", "") + call s:hi("StatusLineNC", s:nord4_gui, s:nord3_gui, "NONE", s:nord3_term, "NONE", "") +endif call s:hi("WarningMsg", s:nord0_gui, s:nord13_gui, s:nord1_term, s:nord13_term, "", "") call s:hi("WildMenu", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") |