1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00

Fix inactive statusline

This commit is contained in:
wsdjeg 2017-12-21 20:29:53 +08:00
parent d334d0637f
commit acdfd05377

View File

@ -394,7 +394,7 @@ endfunction
function! s:inactive() abort
let l = '%#SpaceVim_statusline_ia#' . s:winnr() . '%#SpaceVim_statusline_ia_SpaceVim_statusline_b#' . s:lsep . '%#SpaceVim_statusline_b#'
let secs = [s:filename(), &filetype, s:modes(), s:git_branch()]
let secs = [s:filename(), " " . &filetype, s:modes(), s:git_branch()]
let base = 10
for sec in secs
let len = s:STATUSLINE.len(sec)