From 3cc0bfc390c156cc9f824e3029c66192d905b993 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Thu, 28 Jan 2016 11:15:25 +0100 Subject: [PATCH] fix issue #955 --- autoload/airline/extensions/default.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/default.vim b/autoload/airline/extensions/default.vim index 3276a65b..8129ec95 100644 --- a/autoload/airline/extensions/default.vim +++ b/autoload/airline/extensions/default.vim @@ -50,7 +50,7 @@ else function s:add_section(builder, context, key) if a:key == 'warning' call a:builder.add_raw('%#airline_warning#'.s:get_section(a:context.winnr, a:key)) - else if a:key == 'error' + elseif a:key == 'error' call a:builder.add_raw('%#airline_error#'.s:get_section(a:context.winnr, a:key)) else call a:builder.add_section('airline_'.a:key, s:get_section(a:context.winnr, a:key))