From 74aacca55d53a9ed03520c6f10336874335122c8 Mon Sep 17 00:00:00 2001 From: Harm te Hennepe Date: Thu, 2 Jun 2016 16:00:00 +0200 Subject: [PATCH] update ctrlspace bufferline to use clickbuf() --- autoload/airline/extensions/tabline/ctrlspace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline/ctrlspace.vim b/autoload/airline/extensions/tabline/ctrlspace.vim index 99f4a21..ed2139c 100644 --- a/autoload/airline/extensions/tabline/ctrlspace.vim +++ b/autoload/airline/extensions/tabline/ctrlspace.vim @@ -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.')}%)' 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 call a:builder.add_section_spaced(group, buf_name)