From 182675dc1012762e0836e5fcd14b9e649cca812f Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 7 Jan 2018 09:51:08 +0100 Subject: [PATCH] tabline: revert default buffer_idx_mode commit 2e3cdeb unintentionally changed the default for the buffer_idx_mode in the tabline. Revert it back to be disabled by default fixes #1628 --- autoload/airline/extensions/tabline/buffers.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline/buffers.vim b/autoload/airline/extensions/tabline/buffers.vim index 3d46117..1875642 100644 --- a/autoload/airline/extensions/tabline/buffers.vim +++ b/autoload/airline/extensions/tabline/buffers.vim @@ -86,7 +86,7 @@ function! airline#extensions#tabline#buffers#get() call b.add_raw('%'.nr.'@airline#extensions#tabline#buffers#clickbuf@') endif - if get(g:, 'airline#extensions#tabline#buffer_idx_mode', 1) + if get(g:, 'airline#extensions#tabline#buffer_idx_mode', 0) if len(s:number_map) > 0 call b.add_section(group, get(s:number_map, index, '') . '%(%{airline#extensions#tabline#get_buffer_name('.nr.')}%)' . s:spc) else