From 32138c27d888f718788b0ad0f083639f0b0f7481 Mon Sep 17 00:00:00 2001 From: Alisue Date: Sun, 18 May 2025 13:15:59 +0900 Subject: [PATCH] feat: increase default threshold to 100,000 The number of helptag seems more than 10,000 so it should be larger than that. --- denops/fall/processor/collect.ts | 2 +- denops/fall/processor/match.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/denops/fall/processor/collect.ts b/denops/fall/processor/collect.ts index 7044799..23dacd2 100644 --- a/denops/fall/processor/collect.ts +++ b/denops/fall/processor/collect.ts @@ -7,7 +7,7 @@ import type { CollectParams, Source } from "jsr:@vim-fall/core@^0.3.0/source"; import { Chunker } from "../lib/chunker.ts"; import { dispatch } from "../event.ts"; -const THRESHOLD = 10000; +const THRESHOLD = 100000; const CHUNK_SIZE = 1000; export type CollectProcessorOptions = { diff --git a/denops/fall/processor/match.ts b/denops/fall/processor/match.ts index 8509e6a..2048076 100644 --- a/denops/fall/processor/match.ts +++ b/denops/fall/processor/match.ts @@ -9,7 +9,7 @@ import { ItemBelt } from "../lib/item_belt.ts"; import { dispatch } from "../event.ts"; const INTERVAL = 0; -const THRESHOLD = 10000; +const THRESHOLD = 100000; const CHUNK_SIZE = 1000; export type MatchProcessorOptions = {