Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle duplicate file names in bufferline by prepending parent dir #10391

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

metafates
Copy link

@metafates metafates commented Apr 13, 2024

This PR refactors bufferline rendering logic by prepending minimum required parent directories for each conflicting file name, therefore resolving duplicates. This is very common feature seen in code editors such as JetBrains IDE, VSCode etc.

Before:

before

After:

after

@metafates metafates force-pushed the master branch 2 times, most recently from 2fd2098 to 1fac1be Compare April 13, 2024 18:52
@kirawi
Copy link
Member

kirawi commented Apr 13, 2024

See also #5092

@metafates metafates force-pushed the master branch 3 times, most recently from 201d4e9 to 0571316 Compare April 14, 2024 14:20
@the-mikedavis the-mikedavis added the S-waiting-on-review Status: Awaiting review from a maintainer. label Apr 14, 2024
@kirawi kirawi added the A-gui Area: Helix gui improvements label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-gui Area: Helix gui improvements S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants