mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
fix(statusline): fix statusline highlight
This commit is contained in:
parent
fd9a12aa67
commit
fcaab916b5
@ -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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user