-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Crash when opening folder containing ()
characters
#244
Comments
Hey thanks for reporting this issue. I am able to reproduce this bug. I'll look into both of these issues further but my initial instincts are that they're more suited to be fixed upstream by @fdschmidt93 Can I get your thoughts on this? It looks like this is a case of improperly handled escape sequences but I'm not quite sure why it's tripping up the way it's tripping up. Experimenting around, it doesn't seem like it's an issue with just any file/folder with Eg.
edit: the paths are being passed to full warning stack
|
Thanks for the quick response and all the work with this amazing plugin @jamestrew
Confirm this is the case for me too 🙏🏼 |
Several things I should look into:
|
@juanpprieto I've determined the cause of this bug (besides the File Previewer). I'll work with the maintainers upstream to figure out a fix but in the meantime, you should be able to do |
Amazing! Thanks @jamestrew |
The problem most likely is that the path would have to be escaped for
like so
We should be able to fix this I believe (i.e. |
I tried the above mentioned fix of adding I believe for both the According to
which is an issue for files/folders with pattern like Edit: I found an example of a way to mitigate this in |
Hi @jamestrew, just ran a Now instead of showing an error message, file browser just freezes and I see a telescope message saying something along the lines of "Nothing selected" when I try to open the ($lang) folder. One more thing I noticed last week (before this latest changes) is that the following pattern was also breaking:
Thanks! |
@juanpprieto This should be fixed now. You'll need to be on the latest commit for upstream telescope and plenary. |
Amazing thanks @jamestrew - It's been great following this going upstream 🙏🏼 |
Description
When I try to open a folder containing
(
or)
I get the following error:Neovim version
Operating system and version
macOS 13.2.1
Steps to reproduce
()
e.g($lang)
. This is a new pattern supported by Remix optional segments file based routingExpected behavior
Expect to be able to navigate to the folder
Actual behavior
Error
Minimal config
The text was updated successfully, but these errors were encountered: