Skip to content

Exact sorting not working #1773

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

Closed
2 tasks done
weirdlooop opened this issue May 15, 2025 · 2 comments
Closed
2 tasks done

Exact sorting not working #1773

weirdlooop opened this issue May 15, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@weirdlooop
Copy link

Make sure you have done the following

  • Updated to the latest version of blink.cmp
  • Searched for existing issues and documentation (try <C-k> on https://cmp.saghen.dev)

Bug Description

So I have this config for fuzzy sort:

      fuzzy = {
        implementation = "prefer_rust_with_warning",
        sorts = {
          "exact",
          "score",
          "sort_text",
        },
      },

But you can see in the image below, that it isn't placing the exact matches at the top, it should show grid.

Image

Am I doing something wrong?

Relevant configuration

neovim version

0.11.1

blink.cmp version

1.3.1

@weirdlooop weirdlooop added the bug Something isn't working label May 15, 2025
@Saghen
Copy link
Owner

Saghen commented May 15, 2025

Exact match is for foobar on foobar (all characters exactly match), not foo on foobar. I'll update the docs to be clearer. I'd like to include what you want in frizbee eventually: Saghen/frizbee#34

@weirdlooop
Copy link
Author

@Saghen you're one step ahead! I will close this as it is covered in frizbee. Thanks mate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants