item positioning

This commit is contained in:
ManjaroOne666 2018-04-17 19:06:55 +01:00
parent 3d10c0b6be
commit 196d3f0410
1 changed files with 14 additions and 14 deletions

View File

@ -90,6 +90,20 @@ function! GetStatus(isactive) "{{{
let l:statusline .= "%{&buftype == '' ? '' : ' '}%s"
"}}}
" file info
if a:isactive == 1 "{{{
let l:statusline.=l:active
let l:statusline.=" %{strlen(&ft)?&ft:'none'} "
" let l:statusline.=l:separator . l:active
" let l:statusline.=' %{strlen(&fenc)?&fenc:&enc} '
" let l:statusline.=l:separator . l:active
" let l:statusline.=' %{&fileformat} '
" let l:statusline.=l:separator . l:active
" let l:statusline.=' %{&spelllang} '
let l:statusline.=l:separator
endif
"}}}
" right/left divider
let l:statusline.=l:separator "{{{
" modified version
@ -113,20 +127,6 @@ function! GetStatus(isactive) "{{{
"}}}
" file info
if a:isactive == 1 "{{{
let l:statusline.=l:active
let l:statusline.=" %{strlen(&ft)?&ft:'none'} "
" let l:statusline.=l:separator . l:active
" let l:statusline.=' %{strlen(&fenc)?&fenc:&enc} '
" let l:statusline.=l:separator . l:active
" let l:statusline.=' %{&fileformat} '
" let l:statusline.=l:separator . l:active
" let l:statusline.=' %{&spelllang} '
let l:statusline.=l:separator
endif
"}}}
" path/filename.extension
if a:isactive "{{{
let l:statusline.='%#StatusLineDirActive# '