mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 04:01:45 +08:00
1a7d546448
As mentioned by @tpope, remove the old test for the autoloaded function fugitivie#head() and instead use consistently FugitiveHead() everywhere [delete] %bd command [add] init.vimspec [update] init.vimspec [add] parts.vim [add] section.vimspec [add] themes.vimspec [add] util.vimspec [delete] vim-vspec
15 lines
549 B
Plaintext
15 lines
549 B
Plaintext
Describe extensions_tabline.vim
|
|
|
|
It should use a tabline
|
|
e! file1
|
|
Assert Match(airline#extensions#tabline#get(), '%#airline_tabsel# %(%{airline#extensions#tabline#get_buffer_name(\d)}%) |%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill# buffers' )
|
|
End
|
|
|
|
It Trigger on BufDelete autocommands
|
|
e! file1
|
|
sp file2
|
|
bd
|
|
Assert Match(airline#extensions#tabline#get(), '%#airline_tabsel# %(%{airline#extensions#tabline#get_buffer_name(\d)}%) |%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill# buffers' )
|
|
End
|
|
End
|