fix possible undefined variable

This commit is contained in:
Bailey Ling 2013-08-12 01:40:18 +00:00
parent 8d4eb3c574
commit 7524110de9
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ endfunction
function! airline#extensions#tagbar#init(ext)
call a:ext.add_statusline_funcref(function('airline#extensions#tagbar#apply'))
let g:airline_section_x = '%(%{w:airline_active ? tagbar#currenttag("%s","") : ""} '
let g:airline_section_x = '%(%{get(w:,"airline_active",0) ? tagbar#currenttag("%s","") : ""} '
\ .g:airline_right_alt_sep.' %)'.g:airline_section_x
augroup airline_tagbar