Skip to content

fix: fixes #97, normalize path when checking subpath #98

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 1 commit into from
Jan 26, 2022

Conversation

Rodrigodd
Copy link
Contributor

Fixes #97.

Add normalize_path and is_subpath to utils.lua, and use then when checking if file is in the cwd. Currently normalize_path only uppercase the drive letter in Windows.

@cseickel cseickel changed the base branch from v1.x to main January 26, 2022 21:01
@cseickel cseickel merged commit bdd0bd2 into nvim-neo-tree:main Jan 26, 2022
@cseickel
Copy link
Contributor

I fixed this one for you and forced it through, but if you open any more PRs, please target the main branch.

Thanks for contributing!

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.

case sensitivity causes false 'File not in cwd' in Windows
2 participants