mhinz / mhinz/vim-grepper

Can't search with **/*

Open
#226 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
1.2k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Hi, thanks for this awesome plugin. If I run

:GrepperRg let **/*.vim

It shows this error **/*.vim: No such file or directory (os error 2)|| . Like it's trying to interpret **/*.vim as a literal directory. The command rg -H --no-heading --vimgrep let **/*.vim works as expected in the terminal.

Am I missing something? Let me know if you need any other information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing :GrepperRg let **/*.vim in the vim-grepper plugin and compare it with the provided rg -H --no-heading --vimgrep let **/*.vim terminal command. Trace the GrepperRg entry point and determine why the glob is handled differently; done when the Vim command searches matching .vim files without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
search, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.