fix wrong variable name

This commit is contained in:
Christian Brabandt 2017-03-20 08:56:35 +01:00
parent 703241942a
commit b4ad02f906
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 1 additions and 1 deletions

View File

@ -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