doomemacs / doomemacs/core

helm/project-search returns inconsistent results based on input

Open
#5,395 0 comments 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

When I search my (Rails) project with `+helm/project-search` for string "beta" I expect the search to match strings like ":bea" or "beta1".

### What actually happened?

I get matches for strings containing "alph", like `"beta_1"`, `:beta_1` but no matches for strings like `fetch(:beta)`, or `when :beta`.

### Describe your attempts to resolve the issue

The window shows the command that is actually executed:

rg --smart-case --color=ansi --colors=match:fg:red --hidden -g \!.git "beta"

Running said command from the command line returns all the expected strings.

Someone suggested to give vertico a try and search works there without problem. I get the expected results. This seems to be a doom/helm issue.

### Steps to reproduce

I haven't been able to reproduce this in a smaller project.

### System Information

https://pastebin.com/cm4167Qv

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.