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:
Christian Brabandt 2018-01-04 17:58:36 +01:00
parent 45236ba7c7
commit 645f65d8d9
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -158,7 +158,7 @@ function! airline#extensions#tabline#ctrlspace#get()
else else
" add by tenfy(tenfyzhong@qq.com) " add by tenfy(tenfyzhong@qq.com)
" if current buffer no in the buffer list, does't update tabline " 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 return s:current_tabline
endif endif
call builder.add_section_spaced('airline_tabtype', buffer_label) call builder.add_section_spaced('airline_tabtype', buffer_label)