Open jandamm opened 2 years ago
I'm afraid I can't reproduce. On directory views I see NetrwTreeListing
Weird, for me the name of the netrw buffer would be~/Developre/projects/advent/2021
(maybe because I have dirvish installed?).
This would then be passed to vim.fn.pathshorten(vim.fn.fnamemodify(file, ':p:~:t'))
which results in ''
.
I don't see anything in dirvish buffers either. To reproduce, :tabedit .
When the current buffer is a directory (
:Sexplore
or:Dirvish
) the title in the tabline is empty.