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

Failed to catch the filename when grepping a file(NOT folder) with gnu-grep

Open sihunqu123 opened this issue 4 years ago • 0 comments

Grepper works well with folder:

:Grepper -tool grep -noprompt -quickfix -highlight -grepprg grep -n -i name ./src

While works bad with file:

:Grepper -tool grep -noprompt -quickfix -highlight -grepprg grep -n -i name ./package.json

which will produce a quickfix like(noticed that filename is not captured):

 2:  "name": "bank-demo",||

sihunqu123 avatar Aug 10 '21 13:08 sihunqu123