~enan/dotfiles

0d0ad61c00323543eabb872529eb5173ef9323d8 — Enan Ajmain 1 year, 9 months ago 67445a6
Revert "vim: disable tabline and show tabnr in statusline"

This reverts commit f6f0a91211c748b3542daa1338a40aca706732a2.
1 files changed, 1 insertions(+), 2 deletions(-)

M .config/nvim/plugin/user/statusline.vim
M .config/nvim/plugin/user/statusline.vim => .config/nvim/plugin/user/statusline.vim +1 -2
@@ 13,7 13,6 @@ let &statusline = " %{&modified?'Δ':&readonly||!&modifiable?'ø':'✓'}"
let &statusline .= " %<%{expand('%:~:.')!=#''?PathShortenIfLong(expand('%:~:.')):'[No Name]'}"
let &statusline .= "%="
let &statusline .= " %l: %v "
let &statusline .= "[%{winnr()},%{tabpagenr()}/%{tabpagenr('$')}]"


" -- Tabline -------------------------------------------------------------------


@@ 34,5 33,5 @@ function! MyTabLine() abort
  return s
endfunction

let &showtabline = 0
let &showtabline = 1
let &tabline = "%!MyTabLine()"