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

Allow running rg from Dired on root directory #71

Merged
merged 2 commits into from
Dec 30, 2019

Commits on Dec 28, 2019

  1. Allow running rg from Dired on root directory

    Previously if you opened a Dired buffer to the root directory of your
    filesystem and attempted to use rg, rg-project-root would get a nil
    value for FILE. All of the backends would fail to provide a project
    root, so rg-project-root would fall back on asking for the directory
    that contains FILE. Unfortunately, in this case FILE is unset. The
    problem is solved by handling the cases where FILE is nil (or doesn't
    have a directory component), and defaulting to default-directory.
    raxod502 committed Dec 28, 2019
    Configuration menu
    Copy the full SHA
    fcd56a2 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2019

  1. Simplify logic

    raxod502 committed Dec 29, 2019
    Configuration menu
    Copy the full SHA
    5da7d4d View commit details
    Browse the repository at this point in the history