Merge pull request #1183 from HarmtH/ctrlspace-clickbuf
update ctrlspace bufferline to use clickbuf()
This commit is contained in:
commit
6c8f33f192
@ -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