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

fix: [file_browser] hide "../" when in rootdir #1568

Conversation

steve-lorimer
Copy link

Currently file_browser will always insert an "up dir" entry (../), regardless of where it is in the filesystem

This change suppresses this entry if we are in the root directory (/)

Note I do not have access to Windows. I don't think \ is ever a valid path in Windows, so don't believe this will have any adverse affects on that OS, but I haven't been able to check specifically.

@Conni2461
Copy link
Member

file_browser will be moved: https://github.com/nvim-telescope/telescope-file-browser.nvim please check if its already fixed there and if not open a PR.

Thanks :)

@Conni2461 Conni2461 closed this Dec 7, 2021
@steve-lorimer
Copy link
Author

steve-lorimer commented Dec 8, 2021

@Conni2461 When is telescope-file-browser due to be merged? Is there a discussion anywhere I can peruse on what the future direction is? Found the roadmap here: nvim-telescope/telescope-file-browser.nvim#3

I looked and this change doesn't exist in that project - will make a PR there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants