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

add weight to the match location #43

Open
sakulstra opened this issue Feb 12, 2018 · 0 comments
Open

add weight to the match location #43

sakulstra opened this issue Feb 12, 2018 · 0 comments

Comments

@sakulstra
Copy link

What I want to archive is the mentioned in the tests as todo.

      // TODO: Dont know how I feel about this. Sublime weights characters that
      // appear toward the beginning of the string a bit higher

https://github.com/mattyork/fuzzy/blob/master/test/fuzzy.test.js#L51

The practical usecase is that i have a list with languages and for eng the first result is not english, but bengalish.

Not sure if an exact duplicate, but at least related to: #3 and I guess already fixed in #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant