Skip to content

AsyncGrep runs for ever on invalid input #23

@idbrii

Description

@idbrii

On the latest (96d832a), AsyncGrep doesn't end when run on some invalid input.

For example, when not terminating your strings:

grep \\" %

Fails with an error like unexpected EOF while looking for matching '"'. The same search in AsyncGrep:

AsyncGrep \\" %

And you get no output, no quickfix opens, and grep is not running in the background. So grep terminated, but the vim_cmd to tell vim was never executed. It's probably because the quoting includes vim_cmd as part of the invalid grep command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions