We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01edb3 commit 09f78d3Copy full SHA for 09f78d3
denops/ddc/ext.ts
@@ -341,11 +341,12 @@ export async function onEvent(
341
],
342
);
343
344
- filters = filters.concat(
345
- o.matchers,
346
- o.sorters,
347
- o.converters,
348
- );
+ filters = [
+ ...filters,
+ ...o.matchers,
+ ...o.sorters,
+ ...o.converters,
349
+ ];
350
}
351
352
for (const userSource of options.sources) {
@@ -372,7 +373,7 @@ export async function onEvent(
372
373
374
// Uniq.
375
filters = [
- ...new Set(filters.concat(options.postFilters)),
376
+ ...new Set([...filters, ...options.postFilters]),
377
];
378
379
for (const userFilter of filters) {
0 commit comments