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:
parent
ab49a1c7ae
commit
182675dc10
@ -86,7 +86,7 @@ function! airline#extensions#tabline#buffers#get()
|
|||||||
call b.add_raw('%'.nr.'@airline#extensions#tabline#buffers#clickbuf@')
|
call b.add_raw('%'.nr.'@airline#extensions#tabline#buffers#clickbuf@')
|
||||||
endif
|
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
|
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)
|
call b.add_section(group, get(s:number_map, index, '') . '%(%{airline#extensions#tabline#get_buffer_name('.nr.')}%)' . s:spc)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user