diff --git a/plugin/airline.vim b/plugin/airline.vim index 573c531..3cbb998 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -44,7 +44,7 @@ function! s:on_window_changed() let l:key = [bufnr('%'), winnr(), winnr('$'), tabpagenr(), &ft] if get(g:, 'airline_last_window_changed', []) == l:key \ && &stl is# '%!airline#statusline('.winnr().')' - \ && ft !~? 'gitcommit' + \ && &ft !~? 'gitcommit' " fugitive is special, it changes names and filetypes several times, " make sure the caching does not get into its way return