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