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(previewer): don't escape paths for fs_stat #2996

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

jamestrew
Copy link
Contributor

@jamestrew jamestrew commented Mar 21, 2024

vim.loop.fs_stat takes file paths literally so no escaping special characters are need (eg spaces, $, etc)

closes #2994

`vim.loop.fs_stat` takes file paths literally so no escaping special
characters are need (eg spaces, `$`, etc)
@jamestrew jamestrew merged commit 221778e into nvim-telescope:master Mar 21, 2024
6 checks passed
@jamestrew jamestrew deleted the fix/path-escape branch March 21, 2024 01:19
@jamestrew jamestrew added the backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat) label Mar 21, 2024
Conni2461 pushed a commit that referenced this pull request May 20, 2024
`vim.loop.fs_stat` takes file paths literally so no escaping special
characters are need (eg spaces, `$`, etc)

(cherry picked from commit 221778e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Previewer does not work when there are whitespaces in the path after commit 3b8399c
1 participant