From b4ad02f9061d4fff1431653b0176aa8fb05db8ef Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Mon, 20 Mar 2017 08:56:35 +0100 Subject: [PATCH] fix wrong variable name --- plugin/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index 573c5316..3cbb9989 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