@lvce-editor/completion-worker 1.15.0 → 1.17.0
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.
|
@@ -1625,10 +1625,6 @@ const fuzzySearch = (pattern, word) => {
|
|
|
1625
1625
|
return highlights;
|
|
1626
1626
|
};
|
|
1627
1627
|
|
|
1628
|
-
const EmptyString = '';
|
|
1629
|
-
|
|
1630
|
-
const Deprecated = 1 << 0;
|
|
1631
|
-
|
|
1632
1628
|
const EmptyMatches = [];
|
|
1633
1629
|
|
|
1634
1630
|
const addEmptyMatch = item => {
|
|
@@ -1637,6 +1633,11 @@ const addEmptyMatch = item => {
|
|
|
1637
1633
|
matches: EmptyMatches
|
|
1638
1634
|
};
|
|
1639
1635
|
};
|
|
1636
|
+
|
|
1637
|
+
const EmptyString = '';
|
|
1638
|
+
|
|
1639
|
+
const Deprecated = 1 << 0;
|
|
1640
|
+
|
|
1640
1641
|
const filterCompletionItems = (completionItems, word) => {
|
|
1641
1642
|
if (word === EmptyString) {
|
|
1642
1643
|
return completionItems.map(addEmptyMatch);
|