fix seperator drawing when tabs are shown. fixes #653.

This commit is contained in:
Bailey Ling
2014-11-22 11:52:54 -05:00
parent 15666d71e3
commit 6b4f03efbc
4 changed files with 45 additions and 21 deletions

View File

@@ -61,9 +61,9 @@ function! airline#extensions#default#apply(builder, context)
let active = a:context.active
if airline#util#getwinvar(winnr, 'airline_render_left', active || (!active && !g:airline_inactive_collapse))
call <sid>build_sections(a:builder, a:context, s:layout[0])
call s:build_sections(a:builder, a:context, s:layout[0])
else
let text = <sid>get_section(winnr, 'c')
let text = s:get_section(winnr, 'c')
if empty(text)
let text = ' %f%m '
endif
@@ -73,7 +73,7 @@ function! airline#extensions#default#apply(builder, context)
call a:builder.split(s:get_section(winnr, 'gutter', '', ''))
if airline#util#getwinvar(winnr, 'airline_render_right', 1)
call <sid>build_sections(a:builder, a:context, s:layout[1])
call s:build_sections(a:builder, a:context, s:layout[1])
endif
return 1