jeancroy / fuzz-aldrin-plus

Sublime text like fuzzy filtering - compatible with atom/fuzzaldrin
MIT License
269 stars 21 forks source link

How to handle empty query string #40

Open gregeinfrank opened 6 years ago

gregeinfrank commented 6 years ago

I think there's an inconsistency between fuzz-aldrin-plus and fuzzaldrin where

filter(['a','b'], '') == ['a', 'b']

in fuzzaldrin, but in fuzz-aldrin-plus:

filter(['a', 'b'], '') == []

Is this intentional? Is there an option to turn off filtering when the search string is empty?