Skip to content

Fixed some trailing slash bugs #957

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

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

svermeulen
Copy link
Contributor

@svermeulen svermeulen commented Feb 9, 2022

Without this fix, if cwd has a trailing slash, then user has to trigger dir-up action multiple times for it to work

Was also finding an issue with the find-file action, and the cause there was in the path_join method for a similar reason

@svermeulen svermeulen changed the title Fixed dir-up action trailing slash bug Fixed some trailing slash bugs Feb 9, 2022
@kyazdani42 kyazdani42 merged commit da59247 into nvim-tree:master Feb 10, 2022
Almo7aya pushed a commit to Almo7aya/nvim-tree.lua that referenced this pull request Oct 11, 2022
* Fixed issue where user would have to trigger dir-up action multiple times to get it to work

* Fix to path_join to ensure the result does not have a double slash
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