mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-27 02:33:56 +08:00
39c61288e8
When using vim-gitgutter and fugitive: The hunks extension and the branch extension work as expected when the file is first loaded; both parts are added to the statusline. Once the cursor is moved and stopped for &updatetime ms: 1. The branch extension clears b:airline_head on CursorHold 2. Somehow (?) airline#statusline gets called on CursorHold 3. The hunks extension returns '' when b:airline_head is empty, causing the hunks to be removed from the statusline. It doesn't make sense to clear airline_head just because the cursor moved, and the commit message adding the line doesn't say why: |
||
---|---|---|
.. | ||
extensions | ||
themes | ||
builder.vim | ||
debug.vim | ||
extensions.vim | ||
highlighter.vim | ||
init.vim | ||
msdos.vim | ||
parts.vim | ||
section.vim | ||
themes.vim | ||
util.vim |