From bd3239752bb0197ac6a2780032bcdf9161c2a85f Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 26 Jul 2020 19:42:53 +0300 Subject: [PATCH] Include line number also --- vim/.vim/plugin/buftabline.vim | 1 + 1 file changed, 1 insertion(+) 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 -- 2.44.0