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(builtin.oldfiles): cwd matching with special characters #2860

Conversation

jamestrew
Copy link
Contributor

vim.fn.matchstrpos({expr}, {pat}) doesn't handle all characters well since the pattern (cwd path in this case) is used as a regex pattern.

`vim.fn.matchstrpos({expr}, {pat})` doesn't handle all characters well
since the pattern (cwd path in this case) is used as a regex pattern.
@jamestrew jamestrew linked an issue Jan 11, 2024 that may be closed by this pull request
@jamestrew jamestrew merged commit b3ff5f3 into master Jan 11, 2024
13 checks passed
Conni2461 pushed a commit that referenced this pull request Mar 11, 2024
`vim.fn.matchstrpos({expr}, {pat})` doesn't handle all characters well
since the pattern (cwd path in this case) is used as a regex pattern.

(cherry picked from commit b3ff5f3)
@jamestrew jamestrew deleted the 2857-cant-open-oldfiles-picker-in-cwds-containing-special-characters branch May 12, 2024 18:20
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.

Can't open oldfiles picker in cwds containing special characters
1 participant