From a79e35b5e3c6f24eba1442c7a24797db7de81a1e Mon Sep 17 00:00:00 2001 From: Shane Smith Date: Mon, 11 Apr 2016 18:22:42 -0400 Subject: [PATCH] Fix tabs theming --- autoload/airline/extensions/tabline/tabs.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autoload/airline/extensions/tabline/tabs.vim b/autoload/airline/extensions/tabline/tabs.vim index 0dba19bc..c080df72 100644 --- a/autoload/airline/extensions/tabline/tabs.vim +++ b/autoload/airline/extensions/tabline/tabs.vim @@ -45,17 +45,17 @@ function! airline#extensions#tabline#tabs#get() for i in range(1, tabpagenr('$')) if i == curtab - let group = 'airline_tabsel_right' + let group = 'airline_tabsel' if g:airline_detect_modified for bi in tabpagebuflist(i) if getbufvar(bi, '&modified') - let group = 'airline_tabmod_right' + let group = 'airline_tabmod' endif endfor endif - let s:current_modified = (group == 'airline_tabmod_right') ? 1 : 0 + let s:current_modified = (group == 'airline_tabmod') ? 1 : 0 else - let group = 'airline_tab_right' + let group = 'airline_tab' endif let val = '%(' if s:show_tab_nr @@ -81,7 +81,7 @@ function! airline#extensions#tabline#tabs#get() if s:show_splits == 1 let buffers = tabpagebuflist(curtab) for nr in buffers - let group = airline#extensions#tabline#group_of_bufnr(buffers, nr) + let group = airline#extensions#tabline#group_of_bufnr(buffers, nr) . "_right" call b.add_section_spaced(group, '%(%{airline#extensions#tabline#get_buffer_name('.nr.')}%)') endfor elseif s:show_tab_type == 1