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: escape characters in make_entry #2677

Closed
wants to merge 1 commit into from

Conversation

AvarianKnight
Copy link

Description

Fixes #2675

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

This was tested on the reproduction case provided in #2675

  1. mkdir '[will-fail]'
  2. cd '[will-fail]'
  3. nvim inside of the directory
  4. lua require('telescope.builtin').find_files()
  5. make_entry.gen_from_file no longer fails

Configuration:

  • Neovim version (nvim --version): NVIM v0.10.0-dev-856+ge928161bd
  • Operating system and version: WSL Fedora 38

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

- this applies the same fix in nvim-telescope#2345 to make_entry
@AvarianKnight
Copy link
Author

Closing this as there are quite a few other areas where this is broken and I'm not entirely sure how to fix them. The issue will contain some more details.

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.

find_file errors if in a folder with special characters
1 participant