Skip to content

Clarify readme #1

@tremby

Description

@tremby

The readme says that git-grep will be used if present, otherwise ag, otherwise ack, otherwise regular grep.

Then the instructions say to install ag, and set g:grepprg to ag.
Then to install ack, and set g:grepprg to ack. But then why did I set it to ag? Which one should it be set to? Isn't the whole point to use git-grep first, then fall back to each alternative?

From looking at the code it seems the only reason to set that variable is if I do not want to the fallback behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions