int3 / vim-extradite

A git commit browser for vim. Extends fugitive.vim.
int3.github.com/vim-extradite
234 stars 22 forks source link

compatibility with vim-airline #37

Open AlainPilon opened 9 years ago

AlainPilon commented 9 years ago

When using Extradite with Vim Airline (https://github.com/bling/vim-airline), the setlocal statusline= does not seem to work.

Instead of getting the expected timestamp of the commit, I am getting a [No Name][-] string.

Since I can manually set the status line while browsing via Extradite, I have a feeling the issue is on this side instead of Vim Airline.

xaizek commented 9 years ago

vim-airline sets 'statusline' on window change. Try pressing Ctrl-W Ctrl-W several times after :Extradite, I see correct status line for a while, then (after key press) it's reset.

Added setting w:airline_disabled, which seem to fix the issue.