Skip to content

fix: escape directory name before cd-ing #725

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
Oct 16, 2021

Conversation

justinjuncl
Copy link
Contributor

When opening a directory with special characters in the name I get the following error. This commit tries to fix the issue.

Error detected while processing BufEnter Autocommands for "*": E5108: Error executing lua ....config/nvim/plugged/nvim-tree.lua/lua/nvim-tree/lib.lua:469: Vim(lcd):E194: No alternate file name to substitute for '#': lcd /projects/prototype #6

Copy link
Member

@kyazdani42 kyazdani42 left a comment

Choose a reason for hiding this comment

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

👍 weird folder names though 😄

@kyazdani42 kyazdani42 merged commit 9f90be7 into nvim-tree:master Oct 16, 2021
Almo7aya pushed a commit to Almo7aya/nvim-tree.lua that referenced this pull request Oct 11, 2022
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