Add CursorHold autocmd to unset airline_head

This commit is contained in:
Russell Hancox 2014-03-28 10:53:13 -04:00
parent 25059d43b1
commit 13297cee03
1 changed files with 1 additions and 0 deletions

View File

@ -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