From 63e309130ae09e9af16f3af1b05d59db3d291bc1 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Thu, 19 Feb 2015 07:09:24 -0500 Subject: [PATCH] account for possibility of uninitialized variable --- autoload/airline/extensions/tabline/autoshow.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/airline/extensions/tabline/autoshow.vim b/autoload/airline/extensions/tabline/autoshow.vim index 00b7391e..1bd7899b 100644 --- a/autoload/airline/extensions/tabline/autoshow.vim +++ b/autoload/airline/extensions/tabline/autoshow.vim @@ -1,6 +1,7 @@ " MIT License. Copyright (c) 2013-2015 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +let s:show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1) let s:buf_min_count = get(g:, 'airline#extensions#tabline#buffer_min_count', 0) let s:tab_min_count = get(g:, 'airline#extensions#tabline#tab_min_count', 0)