diff options
author | Arctic Ice Studio <development@arcticicestudio.com> | 2017-10-01 10:04:45 +0200 |
---|---|---|
committer | Arctic Ice Studio <development@arcticicestudio.com> | 2017-10-01 10:04:45 +0200 |
commit | 30f0e1bec57685bee7ebc2475146dcca9580c5e0 (patch) | |
tree | 35c034f0bc919d3568bda6d141e18d110e12ebe8 /colors | |
parent | 81fef161be188b947b01d6d40f52186ce8c4ce12 (diff) | |
download | nord-vim-30f0e1bec57685bee7ebc2475146dcca9580c5e0.tar.gz |
Optimize uniform status lines theme config
The variable has been renamed to "nord_uniform_status_lines" to better
match the name scheme. The documentation style has been updated and
preview screenshots have been added.
GH-37
Diffstat (limited to 'colors')
-rwxr-xr-x | colors/nord.vim | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/colors/nord.vim b/colors/nord.vim index 1c394ef..bbff773 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -52,8 +52,8 @@ 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 +if !exists('g:nord_uniform_status_lines') + let g:nord_uniform_status_lines = 0 endif function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) @@ -131,12 +131,12 @@ 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", "", "", "") -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", "") +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("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", "") + 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, "", "") |