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
This commit is contained in:
Christian Brabandt 2018-01-07 09:51:08 +01:00
parent ab49a1c7ae
commit 182675dc10
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -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