update ctrlspace bufferline to use clickbuf()

This commit is contained in:
Harm te Hennepe 2016-06-02 16:00:00 +02:00
parent 64f06309b1
commit 74aacca55d

View File

@ -59,7 +59,7 @@ function! airline#extensions#tabline#ctrlspace#add_buffer_section(builder, cur_t
let buf_name = '%(%{airline#extensions#tabline#get_buffer_name('.buffer.index.')}%)' let buf_name = '%(%{airline#extensions#tabline#get_buffer_name('.buffer.index.')}%)'
if has("tablineat") if has("tablineat")
let buf_name = '%'.buffer.index.'@airline#extensions#tabline#buffers#switchbuf@'.buf_name.'%X' let buf_name = '%'.buffer.index.'@airline#extensions#tabline#buffers#clickbuf@'.buf_name.'%X'
endif endif
call a:builder.add_section_spaced(group, buf_name) call a:builder.add_section_spaced(group, buf_name)