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(utils.path_expand): improve windows support #2999

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

jamestrew
Copy link
Contributor

@jamestrew jamestrew commented Mar 22, 2024

In order to maintain plenary compatibility (for now, and slightly for other edge case reasons), avoid converting backslashes to forward slashes.

Aside: would be nice to add windows as part of the ci testing.

In order to maintain plenary compatibility (for now, and slightly for
other edgecase reasons), avoid converting backslashes to forward
slashes.
@sibouras
Copy link

hi this pr fixes Telescope buffers but it doesn't fix Telescope git_status path_display={'shorten'}(didn't mention it previously because i just found out its bugged)

Telescope git_status path_display={'smart'} was showing absolute path even before 3b8399c but
Telescope git_status path_display={''} was working and with the new pr its bugged,

here's a gif to better show what's happening

telescope-path-display-bug.mp4

@jamestrew
Copy link
Contributor Author

@sibouras Thanks, I think I'll merge this for now and tactile the path_display issue in a follow up. I need to look a little deeper into it.
Your video helps a lot though.

@jamestrew jamestrew linked an issue Mar 23, 2024 that may be closed by this pull request
@jamestrew jamestrew merged commit 1e59188 into nvim-telescope:master Mar 23, 2024
6 checks passed
@jamestrew jamestrew deleted the plenary-windows branch March 23, 2024 03:57
@jamestrew jamestrew added the backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat) label Mar 24, 2024
Conni2461 pushed a commit that referenced this pull request May 20, 2024
In order to maintain plenary compatibility (for now, and slightly for
other edgecase reasons), avoid converting backslashes to forward
slashes.

(cherry picked from commit 1e59188)
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.

Path errors on some actions after 3b8399c on Windows 10/11
2 participants