update tabline

This commit is contained in:
Ray Elliott 2020-07-31 12:48:16 +01:00
parent a086626556
commit 8fa8075e6f
1 changed files with 1 additions and 12 deletions

View File

@ -52,15 +52,9 @@ function! MyTabLine() "{{{
let l:customtabline .= '%T%#TabLineFill#%='
if exists('*gutentags#statusline')
let l:customtabline .= '%#TabLineItemSel# %{gutentags#statusline("[ ", " ☢ ] ")}'
endif
let l:customtabline .= '%#TabLineItem# %{getcwd()}% '
if exists('*fugitive#statusline')
let l:customtabline .= '%#TabLineItem# %{fugitive#statusline()}% '
endif
if exists('*ObsessionStatus')
let l:customtabline .= "%#TabLineItemSel# %{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')} %*"
let l:customtabline .= "%#TabLineItem# %{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')} %*"
endif
return l:customtabline
@ -68,11 +62,6 @@ function! MyTabLine() "{{{
endfunction
"}}}
hi def link TabLineItem TabLine
hi def link TabLineItemSel TabLineSel
hi def link TabLineNum TabLine
hi def link TabLineNumSel TabLineSel
set tabline=%!MyTabLine()
set showtabline=2