diff options
author | Arctic Ice Studio <development@arcticicestudio.com> | 2018-06-24 20:39:10 +0200 |
---|---|---|
committer | Arctic Ice Studio <development@arcticicestudio.com> | 2018-06-24 20:39:10 +0200 |
commit | 18add4e7ae55ebecf66e097f88f0237796ba4e75 (patch) | |
tree | ba67acf6cf09c175cdce309b004f336d94aa91d5 /autoload/airline/themes | |
parent | aea66855868f2a2912387572fc9c001d845aca68 (diff) | |
download | nord-vim-18add4e7ae55ebecf66e097f88f0237796ba4e75.tar.gz |
Improve compatibility of airline theme with tmuxline.vim theme
The "Nord airline.vim" (1) UI plugin theme now includes better support
for the "tmuxline.vim" (2) plugin. Previously text shown in the main
segment of the tmuxline, generated via the `:Tmuxline airline` command,
caused a `bad colour: NONE` error or has been colorized using `nord0`
which resulted in unreadable text due to a `nord3` background.
This has been fixed by using `nord5` as foreground color. See GH-11 (3)
which has been used as implementation reference that fixed the same
incompatibility for the "lightline.vim" (4) plugin.
References:
(1) https://github.com/arcticicestudio/nord-vim/blob/develop/autoload/airline/themes/nord.vim
(2) https://github.com/edkolev/tmuxline.vim
(3) https://github.com/arcticicestudio/nord-vim/issues/11
(4) https://github.com/itchyny/lightline.vim
GH-117
Diffstat (limited to 'autoload/airline/themes')
-rwxr-xr-x | autoload/airline/themes/nord.vim | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/autoload/airline/themes/nord.vim b/autoload/airline/themes/nord.vim index e072fe1..560d32a 100755 --- a/autoload/airline/themes/nord.vim +++ b/autoload/airline/themes/nord.vim @@ -44,25 +44,25 @@ let s:nord6_term = "15" let s:NMain = [s:nord1_gui, s:nord8_gui, s:nord1_term, s:nord8_term] let s:NRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] -let s:NMiddle = [s:nord4_gui, s:nord3_gui, s:nord4_term, s:nord3_term] +let s:NMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] let g:airline#themes#nord#palette.normal = airline#themes#generate_color_map(s:NMain, s:NRight, s:NMiddle) let s:IMain = [s:nord1_gui, s:nord14_gui, s:nord1_term, s:nord6_term] let s:IRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] -let s:IMiddle = [s:nord4_gui, s:nord3_gui, s:nord4_term, s:nord3_term] +let s:IMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] let g:airline#themes#nord#palette.insert = airline#themes#generate_color_map(s:IMain, s:IRight, s:IMiddle) let s:RMain = [s:nord1_gui, s:nord14_gui, s:nord1_term, s:nord14_term] let s:RRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] -let s:RMiddle = [s:nord4_gui, s:nord3_gui, s:nord4_term, s:nord3_term] +let s:RMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] let g:airline#themes#nord#palette.replace = airline#themes#generate_color_map(s:RMain, s:RRight, s:RMiddle) let s:VMain = [s:nord1_gui, s:nord7_gui, s:nord1_term, s:nord7_term] let s:VRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] -let s:VMiddle = [s:nord4_gui, s:nord3_gui, s:nord4_term, s:nord3_term] +let s:VMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] let g:airline#themes#nord#palette.visual = airline#themes#generate_color_map(s:VMain, s:VRight, s:VMiddle) -let s:IAMain = [s:nord4_gui, s:nord3_gui, s:nord4_term, s:nord3_term] -let s:IARight = [s:nord4_gui, s:nord3_gui, s:nord4_term, s:nord3_term] -let s:IAMiddle = [s:nord4_gui, s:nord1_gui, s:nord4_term, s:nord1_term] +let s:IAMain = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] +let s:IARight = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] +let s:IAMiddle = [s:nord5_gui, s:nord1_gui, s:nord5_term, s:nord1_term] let g:airline#themes#nord#palette.inactive = airline#themes#generate_color_map(s:IAMain, s:IARight, s:IAMiddle) |