@codemirror/autocomplete 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -220,7 +220,7 @@ class FuzzyMatcher {
|
|
|
220
220
|
// is. See `Penalty` above.
|
|
221
221
|
match(word) {
|
|
222
222
|
if (this.pattern.length == 0)
|
|
223
|
-
return [
|
|
223
|
+
return [-100 /* Penalty.NotFull */];
|
|
224
224
|
if (word.length < this.pattern.length)
|
|
225
225
|
return null;
|
|
226
226
|
let { chars, folded, any, precise, byWord } = this;
|
package/dist/index.js
CHANGED
|
@@ -216,7 +216,7 @@ class FuzzyMatcher {
|
|
|
216
216
|
// is. See `Penalty` above.
|
|
217
217
|
match(word) {
|
|
218
218
|
if (this.pattern.length == 0)
|
|
219
|
-
return [
|
|
219
|
+
return [-100 /* Penalty.NotFull */];
|
|
220
220
|
if (word.length < this.pattern.length)
|
|
221
221
|
return null;
|
|
222
222
|
let { chars, folded, any, precise, byWord } = this;
|