statusline tweaks
This commit is contained in:
parent
0c1497ad42
commit
fb5beeb4ca
6
vimrc
6
vimrc
|
@ -273,9 +273,9 @@ function! GetStatus(isactive)
|
|||
|
||||
|
||||
if a:isactive
|
||||
let l:statusline.=l:active . ' %q%h%w%#StatusLineActiveNoText#'
|
||||
let l:statusline .= l:active . "%{&buftype == '' ? '' : ' '}%q%h%w%#StatusLineActiveNoText#"
|
||||
else
|
||||
let l:statusline.=l:normal . ' %q%h%w%#StatusLineNormalNoText#'
|
||||
let l:statusline .= l:normal . "%{&buftype == '' ? '' : ' '}%q%h%w%#StatusLineNormalNoText#"
|
||||
endif
|
||||
let l:statusline .= "%{&buftype == '' ? '' : ' '}%s"
|
||||
|
||||
|
@ -284,7 +284,7 @@ function! GetStatus(isactive)
|
|||
" file info{{{
|
||||
if a:isactive == 1
|
||||
let l:statusline.=l:active
|
||||
let l:statusline.="%{strlen(&ft)?&ft:'none'} "
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue