show number of lines of buffer

This commit is contained in:
ManjaroOne666 2018-06-09 21:23:41 +01:00
parent b3c5a41464
commit 016de5e7db
1 changed files with 2 additions and 1 deletions

View File

@ -33,10 +33,11 @@ function! GetStatus(isactive) abort "{{{
let l:statusline .= '%#FoldColumn# ' "{{{
if a:isactive
let l:statusline .= '%#StatusLinePercentActive#'
let l:statusline .= '%P %#StatusLineDirActive#of %#StatusLineFileActive#%L %* '
else
let l:statusline .= '%#StatusLinePercent#'
let l:statusline .= '%P %#StatusLineDir#of %#StatusLinePercent#%L %* '
endif
let l:statusline .= '%P %* '
"}}}
" non-empty buftype (help, quickfix, etc)