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 opening sub-directories that have commas in their name. #873

Merged
merged 1 commit into from
Aug 25, 2018

Conversation

PhilRunninger
Copy link
Member

Fixed #314

The key to fixing this was in the help file entry for the globpath() function. If the path argument contains a comma, it will cause globpath() to search in multiple non-existent directories.

If not escaped, commas will cause globpath() to search in multiple
directories, none of which really exist.
@PhilRunninger PhilRunninger added PR Under Review Coding is finished, and a pull request has been created and is being reviewed. and removed PR Under Review Coding is finished, and a pull request has been created and is being reviewed. labels Aug 14, 2018
Copy link
Contributor

@lifecrisis lifecrisis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This definitely fixed the problem on Windows 10.

I was able to do the following:

  1. Create dir,with,commas\ using thema mapping.
  2. Create a file.txt under the new directory again with the ma mapping.
  3. Use o to open the directory and view the new child node.

Thus, I would say this issue is fixed. Again, superb catch!!!

@lifecrisis lifecrisis merged commit 808f5b2 into master Aug 25, 2018
@lifecrisis lifecrisis deleted the commas_in_directory_name branch August 25, 2018 13:52
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.

nerdtree does not support file or directory has comma in it.
2 participants