Skip to content

async job finder: correctly handle files not ending in newline #3465

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emmanueltouzery
Copy link
Contributor

@emmanueltouzery emmanueltouzery commented May 3, 2025

fixes #2517

Description

The telescope async job runner would not properly handle files without a trailing newline. It would just crash on them.

Fixes #2517

Type of change

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

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list relevant details about your configuration

Configuration:

  • Neovim version 0.11.1
  • Operating system and version: linux fedora 42

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)

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.

Encountered an error when using git_command in git_bcommits
1 participant