ctrlspace: wrong separator
under certains circumstances it could happen that for the vim-ctrlspace tabline extension a tabline group was redefined which would cause a separator having foreground and background color swapped. This was caused by using the 'pos' parameter for the right side wrongly. fixes #1559
This commit is contained in:
parent
45236ba7c7
commit
645f65d8d9
|
@ -158,7 +158,7 @@ function! airline#extensions#tabline#ctrlspace#get()
|
|||
else
|
||||
" add by tenfy(tenfyzhong@qq.com)
|
||||
" if current buffer no in the buffer list, does't update tabline
|
||||
if airline#extensions#tabline#ctrlspace#add_buffer_section(builder, cur_tab, cur_buf, 0) == 0
|
||||
if airline#extensions#tabline#ctrlspace#add_buffer_section(builder, cur_tab, cur_buf, 1) == 0
|
||||
return s:current_tabline
|
||||
endif
|
||||
call builder.add_section_spaced('airline_tabtype', buffer_label)
|
||||
|
|
Loading…
Reference in New Issue