fixed file percentage alignment
This commit is contained in:
parent
a2cef1fe33
commit
8822eab597
|
@ -11,7 +11,7 @@ function! GetStatus(isactive) "{{{
|
|||
let l:statusline = ''
|
||||
|
||||
" file percentage
|
||||
let l:statusline .= '%#FoldColumn#: '
|
||||
let l:statusline .= '%#FoldColumn#: '
|
||||
if a:isactive
|
||||
let l:statusline .= '%#StatusLineNormal#'
|
||||
else
|
||||
|
@ -93,7 +93,7 @@ function! GetStatus(isactive) "{{{
|
|||
let l:statusline.="%{strlen(expand('%:e'))?'.':''}"
|
||||
let l:statusline.='%#StatusLineExtActive#'
|
||||
let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')} "
|
||||
let l:statusline .= '%#InterfaceSignWarning# %R' " TODO
|
||||
let l:statusline .= '%#InterfaceSignWarning# %R'
|
||||
let l:statusline.=' %*'
|
||||
else
|
||||
let l:statusline.='%#StatusLineDir# '
|
||||
|
@ -106,7 +106,7 @@ function! GetStatus(isactive) "{{{
|
|||
let l:statusline.="%{strlen(expand('%:e'))?'.':''}"
|
||||
let l:statusline.='%#StatusLineExt#'
|
||||
let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')} "
|
||||
let l:statusline .= '%#InterfaceSignWarning# %R' " TODO
|
||||
let l:statusline .= '%#InterfaceSignWarning# %R'
|
||||
let l:statusline.=' %*'
|
||||
endif
|
||||
"}}}
|
||||
|
|
Loading…
Reference in New Issue