diff --git a/autoload/SpaceVim/autocmds.vim b/autoload/SpaceVim/autocmds.vim index e0751b51f..a7c76d92a 100644 --- a/autoload/SpaceVim/autocmds.vim +++ b/autoload/SpaceVim/autocmds.vim @@ -124,6 +124,8 @@ function! s:fix_colorschem_in_SpaceVim() abort hi VertSplit guibg=#282c34 guifg=#181A1F hi SPCFloatBorder guibg=#282c34 guifg=#181A1F hi SPCNormalFloat guifg=#abb2bf guibg=#282c34 + hi clear StatusLineNC + hi link StatusLineNC Normal elseif g:colors_name ==# 'jellybeans' hi VertSplit guibg=#151515 guifg=#080808 elseif g:colors_name ==# 'nord' diff --git a/autoload/SpaceVim/layers/core/statusline.vim b/autoload/SpaceVim/layers/core/statusline.vim index 38b38df73..150777c2c 100644 --- a/autoload/SpaceVim/layers/core/statusline.vim +++ b/autoload/SpaceVim/layers/core/statusline.vim @@ -682,7 +682,7 @@ function! s:inactive() abort let l .= '%{ get(w:, "winwidth", 150) < ' . base . ' ? "" : (" ' . s:STATUSLINE.eval(sec) . ' ' . s:ilsep . '")}' endfor if get(w:, 'winwidth', 150) > base + 10 - let l .= join(['%=', '%{" " . &ff}', '%{(&fenc!=""?&fenc:&enc) . " "}', ' %P '], s:irsep) + let l .= join(['%=', '%{" " . g:_spacevim_statusline_fileformat . " "}', '%{" " . (&fenc!=""?&fenc:&enc) . " "}', ' %P '], s:irsep) endif return l endfunction