From 83b6dd11a8829bbd934576e76bfbda6559ed49e1 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 22 May 2016 21:26:34 +0200 Subject: [PATCH] vim 7.3 does not allow getwinvar with 3 args use airline#util#getwinvar instead, fixes #1174 --- autoload/airline/extensions/quickfix.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/quickfix.vim b/autoload/airline/extensions/quickfix.vim index 2a37f8c..0378650 100644 --- a/autoload/airline/extensions/quickfix.vim +++ b/autoload/airline/extensions/quickfix.vim @@ -19,7 +19,7 @@ function! airline#extensions#quickfix#init(ext) endfunction function! airline#extensions#quickfix#inactive_qf_window(...) - if getbufvar(a:2.bufnr, '&filetype') is# 'qf' && !empty(getwinvar(a:2.winnr, 'quickfix_title', '')) + if getbufvar(a:2.bufnr, '&filetype') is# 'qf' && !empty(airline#util#getwinvar(a:2.winnr, 'quickfix_title', '')) call setwinvar(a:2.winnr, 'airline_section_c', '[%{get(w:, "quickfix_title", "")}] %f %m') endif endfunction