From 89646038445ccfefc00724a9a860db2cbc4f1e70 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 14 Oct 2016 11:14:33 +0200 Subject: [PATCH] fix missing declaration --- autoload/airline/extensions/branch.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 0b30f441..868da964 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -79,6 +79,7 @@ function! s:get_git_untracked(file) call s:get_vcs_untracked_async(s:git_cmd, a:file) else let output = system(s:git_cmd. shellescape(a:file)) + let untracked = '' if output[0:1] is# '??' && output[3:-2] is? a:file let untracked = get(g:, 'airline#extensions#branch#notexists', g:airline_symbols.notexists) endif