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

Should show filename for one file with vimgrep #488

Merged
merged 1 commit into from
May 25, 2017
Merged

Should show filename for one file with vimgrep #488

merged 1 commit into from
May 25, 2017

Commits on May 25, 2017

  1. Should show filename for one file with vimgrep

    With vim configured with:
    
        set grepprg=rg\ --vimgrep
        set grepformat^=%f:%l:%c:%m
    
    and running the command `:grep 'vimgrep' doc/rg.1`, the output should
    be:
    
        doc/rg.1:446:8:.B \-\-vimgrep
    
    but the actual output was:
    
        446:8:.B \-\-vimgrep
    
    Same issue would happen if results only match one file. Ag behaves as
    expected.
    ericbn committed May 25, 2017
    Configuration menu
    Copy the full SHA
    ad3c44c View commit details
    Browse the repository at this point in the history