aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/lightline/colorscheme
diff options
context:
space:
mode:
authorGravatar Jose M. Murinello <jm.murinello@gmail.com>2019-07-17 03:17:51 +0900
committerGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-07-16 20:17:51 +0200
commit73b3d340a735a2b6915f62a8904d6521251375cd (patch)
treec9f289d89374bb877072e1e0c5e6579aa8d261a9 /autoload/lightline/colorscheme
parent81d80e4a978aaab77e930b094bfb6780f695b438 (diff)
downloadnord-vim-73b3d340a735a2b6915f62a8904d6521251375cd.tar.gz
Uniform status lines config for bundled airline and lightline themes (#169)
The included theme bundles have not supported the "uniform status line" feature (GH-58), which allows to change the background color of the status bar (StatusLine) group to `nord3`. Related to GH-58 Resolves GH-168
Diffstat (limited to 'autoload/lightline/colorscheme')
-rwxr-xr-xautoload/lightline/colorscheme/nord.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/lightline/colorscheme/nord.vim b/autoload/lightline/colorscheme/nord.vim
index 62f8ae2..f911f92 100755
--- a/autoload/lightline/colorscheme/nord.vim
+++ b/autoload/lightline/colorscheme/nord.vim
@@ -32,7 +32,7 @@ let s:p.normal.warning = [ [ s:nord1, s:nord13 ] ]
let s:p.normal.error = [ [ s:nord1, s:nord11 ] ]
let s:p.inactive.left = [ [ s:nord1, s:nord8 ], [ s:nord5, s:nord1 ] ]
-let s:p.inactive.middle = [ [ s:nord5, s:nord1 ] ]
+let s:p.inactive.middle = g:nord_uniform_status_lines == 0 ? [ [ s:nord5, s:nord1 ] ] : [ [ s:nord5, s:nord3 ] ]
let s:p.inactive.right = [ [ s:nord5, s:nord1 ], [ s:nord5, s:nord1 ] ]
let s:p.insert.left = [ [ s:nord1, s:nord6 ], [ s:nord5, s:nord1 ] ]