From 3a23eeac4273af552647c2a2f6e5c17540d95212 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 17 Mar 2017 12:01:56 +0100 Subject: [PATCH] Check that 'statusline' option is correct statusline of quickfix window will be reset in the ftplugin of $VIMRUNTIME, therefore check that airline is still active fixes #1447 --- plugin/airline.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/airline.vim b/plugin/airline.vim index cbd3e286..1d5ddcd5 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -43,6 +43,7 @@ function! s:on_window_changed() " different autocommands. let l:key = [bufnr('%'), winnr(), winnr('$'), tabpagenr()] if get(g:, 'airline_last_window_changed', []) == l:key + \ && &stl is# '%!airline#statusline('.winnr().')' return endif let g:airline_last_window_changed = l:key