Open goatyeahh opened 3 months ago
It seems that the change it's already in the main
branch https://github.com/pacocoursey/cmdk/blob/main/cmdk/src/index.tsx#L937 but the current release doesn't contain the changes. Perhaps @pacocoursey can comment on when there's an incoming release.
Would you consider exporting commandScore? I like the default commandScore, but it would be great to reuse it.
Why?
My first use case is that I have added some unique value to my command items to avoid name clash issues that interfere with the search like suggested here https://github.com/pacocoursey/cmdk/issues/174
so something like this would do the trick
or another use case would be to change filter only for some specific keyword and for others leave the default.