formatting

This commit is contained in:
ManjaroOne666 2018-04-17 20:44:45 +01:00
parent 8d02802194
commit edd801a9ef
1 changed files with 40 additions and 40 deletions

View File

@ -1,10 +1,10 @@
if exists("+showtabline")
" Rename tabs to show tab number.
" based on:
" http://stackoverflow.com/questions/5927952/whats-implementation-of-vims-default-tabline-function
" Rename tabs to show tab number.
" based on:
" http://stackoverflow.com/questions/5927952/whats-implementation-of-vims-default-tabline-function
function! MyTabLine()
function! MyTabLine()
let s = ''
let t = tabpagenr()
let i = 1
@ -57,15 +57,15 @@ function! MyTabLine()
return s
endfunction
endfunction
highlight def link TabNum Comment
highlight def link TabNumSel String
highlight def link TabSeparator Comment
highlight def link TabLineItem Comment
highlight def link TabLineItemSel String
highlight def link TabNum Comment
highlight def link TabNumSel String
highlight def link TabSeparator Comment
highlight def link TabLineItem Comment
highlight def link TabLineItemSel String
set showtabline=2
set tabline=%!MyTabLine()
set showtabline=2
set tabline=%!MyTabLine()
endif " exists("+showtabline")