From: Sergey Matveev Date: Sun, 26 Jul 2020 16:42:53 +0000 (+0300) Subject: Include line number also X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=bd3239752bb0197ac6a2780032bcdf9161c2a85f Include line number also --- diff --git a/vim/.vim/plugin/buftabline.vim b/vim/.vim/plugin/buftabline.vim index e40885c..2c28fd3 100644 --- a/vim/.vim/plugin/buftabline.vim +++ b/vim/.vim/plugin/buftabline.vim @@ -10,6 +10,7 @@ function! BufTabline() if len(ent) == 0 | continue | endif let ents = add(ents, substitute(ent, "%", "%%", "g")) endfor + let ents[-3] = ents[-3] . ":" . ents[-1] let ents = ents[:-3] if len(ents) == 4 | let ents = [ents[0], ents[1] . ents[2], ents[3]] | endif if len(ents) == 3 | let ents = [ents[0] . ":" . ents[1], ents[2]] | endif