mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-12 05:22:12 +08:00
Add CursorHold autocmd to unset airline_head
This commit is contained in:
parent
25059d43b1
commit
13297cee03
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user