vim-grepper icon indicating copy to clipboard operation
vim-grepper copied to clipboard

The -buffer flag has no effect

Open pluma9 opened this issue 3 years ago • 0 comments

Reproduce

Given: 3 files containing the same content. Open one of the files and run the following command:

:Grepper -tool rg -buffer -noprompt -query hello

Result:

file1|1 col 1| hello world file3|1 col 1| hello world file2|1 col 1| hello world file1|1 col 1| hello world hello: The system cannot find the file specified. (os error 2)||

The vim command was translated to: rg -H --no-heading --vimgrep hello . -- hello "file1", which is incorrect I think.

Expectation

Only search the content in file1

Environment

Windows 10 Education x86_64 NVIM v0.8.0-dev+272-g5193b1783 ripgrep 13.0.0 vim-grepper commit 2b93535752ffcb312f9fab73d90e80dc9f2e60fc

pluma9 avatar May 22 '22 08:05 pluma9