nvim-tabline
nvim-tabline copied to clipboard
Unique file names
If two files opened in two separate tabs have the same file name, then ideally the file path that differs should also be visible. But presently, there is no difference.
In this image one of the mappings.lua file is in custom folder and the other one is in core folder. But this difference in path isn't visible.
I tried to see if there is a quick and easy built in way og doing that, but I couldn't find any. I am not too interested in tackling this myself as I am not bothered by it. However, I would probably accept a PR :)
okay, if that's the case I will try fixing this issue and making a PR.
Hello,
In case you are interested, I implemented something like that. To my surprise, it was tricky (and I'm not fully sure I got it right).
I'm not sure it would make sense to integrate this here, but I figure I would share cause I care ;-)
Interesting🤔 I also thought it would be a bit easier than this, but I also haven't given it any thought on how to potentially do it, so maybe it just is that complex.
I think I will just refer to you fork in the README (if that's okay with you of course) in case there are someone that wants additional more complex features😅
Well. I might have gone a bit over the top, but if you want to only add the least possible paths elements to make tab names non ambiguous, and since you cannot do any assumption on the order... At least I could not come up with something significantly simpler.
I think I will try to avoid spending much more time on this tabline but sure, you can mention my fork in the readme, with pleasure.
I think I'll close this issue then😅 I added some wording pointing to your fork in the README, and trying to explain a bit about why I am not looking to add these features. Let me know if you want me to change something about the wording😄