From 470e9870f13830580d1938a2dae1be5b6e43d92a Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 20 Aug 2017 22:45:54 +0200 Subject: [PATCH] highlighter: do not consider 0 to be empty fixes #1531 --- autoload/airline/highlighter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 3203764..9dbb82b 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -149,7 +149,7 @@ endfunction function! s:Get(dict, key, prefix) let res=get(a:dict, a:key, '') - if empty(res) + if res is '' return '' else return a:prefix. res