From 13297cee03a3003b66a4ec07b734066cb32b7e04 Mon Sep 17 00:00:00 2001 From: Russell Hancox Date: Fri, 28 Mar 2014 10:53:13 -0400 Subject: [PATCH] Add CursorHold autocmd to unset airline_head --- 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 0abce4d4..9ac1b56e 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -84,4 +84,5 @@ function! airline#extensions#branch#init(ext) call airline#parts#define_function('branch', 'airline#extensions#branch#get_head') autocmd BufReadPost * unlet! b:airline_file_in_root + autocmd CursorHold * unlet! b:airline_head endfunction