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

Don't use word splitting during fuzzy matching #8192

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

pascalkuthe
Copy link
Member

This fixes a regression introduced in the nulceo PR.

We used Pattern::new for fuzzy matching, however during the nulceo 0.2 release the definition of that function changed so that it also performs word splitting. That would mean that typing spaces would for example never close the completion popup. This PR fixes that by switching to Atom::new instead which is the right API for our use case (exactly the same as Pattern::new but does not perform word splitting).

@pascalkuthe pascalkuthe added this to the 23.9 milestone Sep 6, 2023
@pascalkuthe pascalkuthe added C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much A-core Area: Helix core improvements S-waiting-on-review Status: Awaiting review from a maintainer. labels Sep 6, 2023
@pascalkuthe
Copy link
Member Author

pascalkuthe commented Sep 6, 2023

hmm seems like the windows test CI is always failing now with some weird linker error. Already tried clearing caches but it's not helping

Seems clearing caches a second time helped

@archseer archseer merged commit e6cdc5f into master Sep 6, 2023
6 checks passed
@archseer archseer deleted the fuzzy_atoms branch September 6, 2023 14:03
dgkf pushed a commit to dgkf/helix that referenced this pull request Jan 30, 2024
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Helix core improvements C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants