Closed ybbond closed 2 months ago
This sounds similar to #2:
[Unique name handling] should give the same output no matter the order of the buffers
Yeah I know it's been bugging me but not enough to fix it. I'll try to give it a go in the next days.
thanks @romgrk !
Description
suppose I have many
index.tsx
files. for the example, I will use:first, I open (1), the tabline will become
[ index.tsx ]
then I open (2), the tabline becomes
[ home-page/index.tsx ] [ profile-page/index.tsx ]
when I open (3), it shows as non-unique
[ home-page/index.tsx ] [ profile-page/index.tsx ] [ index.tsx ]
but after I open other file with
index.tsx
as file name, it all becomes unique[ home-page/index.tsx ] [ profile-page/index.tsx ] [ listing-page/index.tsx ] [ history-page/index.tsx ]
Expected Results
To be fair, the current implementation is semantically correct. It all has "unique" tab name. But it's not what I (and I assume some others also) expect for the behavior
Screenshots
non unique
unique
Informations
NVIM v0.10.0-dev-2702+g0c0be09ea-Homebrew Build type: Release LuaJIT 2.1.1710088188 Run "nvim -V1 -v" for more info