fix bufferline detection

This commit is contained in:
Bailey Ling 2013-06-30 22:26:58 -04:00
parent 2b896c8481
commit abb86d2ef3
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function! s:update_statusline(active)
let sl.="%{g:airline_enable_fugitive&&exists('g:loaded_fugitive')? g:airline_fugitive_prefix.fugitive#head():''}\ "
let sl.=l:info_sep_color."%{g:airline_left_sep}"
if a:active
let sl.=l:status_color."\ %{exists('g:bufferline_loaded')?bufferline#generate_string():'%f%m'}\ "
let sl.=l:status_color.(exists('g:bufferline_loaded')?"\ %{bufferline#generate_string()}\ ":"\ %f%m\ ")
else
let sl.=" ".bufname(winbufnr(winnr()))
endif