update ctrlspace bufferline to use clickbuf()
This commit is contained in:
parent
64f06309b1
commit
74aacca55d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user