This commit is contained in:
ManjaroOne666 2018-04-17 20:34:14 +01:00
parent fef70518ed
commit 8d02802194
1 changed files with 6 additions and 4 deletions

View File

@ -15,7 +15,7 @@ function! MyTabLine()
let s .= (i == t ? '%1*' : '%2*') let s .= (i == t ? '%1*' : '%2*')
let s .= (i == t ? '%#TabNumSel#' : '%#TabNum#') let s .= (i == t ? '%#TabNumSel#' : '%#TabNum#')
let s .= i let s .= ' ' . i
let s .= '%#TabSeparator#:' let s .= '%#TabSeparator#:'
let s .= (i == t ? '%#TabLineItemSel#' : '%#TabLineItem#') let s .= (i == t ? '%#TabLineItemSel#' : '%#TabLineItem#')
@ -43,14 +43,16 @@ function! MyTabLine()
let file = "''" let file = "''"
endif endif
let s .= file . ' ' let s .= file . ' %#mNoise# '
let i = i + 1 let i = i + 1
endwhile endwhile
let s .= '%T%#TabLineFill#%=' let s .= '%T%#TabLineFill#%='
let s .= '%#mNoise# '
let s .= '%#TabSeparator# "%#TabLineItemSel#%{v:register}%#TabSeparator#" ' let s .= '%#TabSeparator# "%#TabLineItemSel#%{v:register}%#TabSeparator#" '
let s .= '%#mNoise# '
let s .= "%#TabLineItemSel# %{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')} %*" let s .= "%#TabLineItemSel# %{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')} %*"
return s return s