fixed file percentage alignment

This commit is contained in:
ManjaroOne666 2018-03-18 01:07:15 +00:00
parent a2cef1fe33
commit 8822eab597
1 changed files with 3 additions and 3 deletions

View File

@ -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
"}}}