From a88996b170a4538924db3dbb8fa39e049e02aeb0 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Fri, 13 Sep 2013 00:43:02 -0400 Subject: [PATCH] account for possible undefined variable. --- autoload/airline/extensions.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index 65fbda9..5c202cc 100755 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -65,7 +65,7 @@ function! airline#extensions#apply(...) if &buftype == 'quickfix' let w:airline_section_a = '%q' - let w:airline_section_b = '%{w:quickfix_title}' + let w:airline_section_b = '%{get(w:, "quickfix_title", "")}' let w:airline_section_c = '' let w:airline_section_x = '' elseif &buftype == 'help'