ensure changing filetypes gets updated statusline if necessary. fix statusline overwrite when using unite with -no-split

This commit is contained in:
Bailey Ling
2013-07-07 15:32:50 +00:00
parent 7ca93833ae
commit 6268cebcce
3 changed files with 3 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ endfunction
function! airline#update_statusline(active)
if s:is_excluded_window()
call setwinvar(winnr(), '&statusline', '')
return
endif