nanozuki / tabby.nvim

A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
MIT License
612 stars 21 forks source link

The newly created tab with no buffer have a current dir as a window name in tabline #17

Closed VKondakoff closed 3 years ago

VKondakoff commented 3 years ago

Hi!

The newly created tab with no buffer (:tabnew) have a current dir as a window name in tabline:

Снимок экрана 2021-10-10 в 01 52 54

I'm pretty sure it should be 'No name' instead. (macOS, iTerm2, Neovim nightly)

nanozuki commented 3 years ago

The nvim_buf_get_name will return cwd when a buffer is no name. Oh, that is a miss. I will fix it.

nanozuki commented 3 years ago

Fix in latest commit.

nanozuki commented 3 years ago

still have some bug here, reopen.

nanozuki commented 3 years ago

@VKondakoff Hi, thanks for using and discussing this plugin! I open the discussion board for this repository, in case, to share more examples or screenshots: https://github.com/nanozuki/tabby.nvim/discussions/categories/show-and-tell Would you mind share your screenshot or config on the discussion board?