diff --git a/denops/fall/processor/match.ts b/denops/fall/processor/match.ts index 1b201b7..433222a 100644 --- a/denops/fall/processor/match.ts +++ b/denops/fall/processor/match.ts @@ -50,7 +50,9 @@ export class MatchProcessor implements Disposable { this.#chunkInterval = options.chunkInterval ?? CHUNK_INTERVAL; this.#incremental = options.incremental ?? false; this.#items = options.initialItems?.slice() ?? []; - this.#previousQuery = options.initialQuery; + // Do not set initialQuery to #previousQuery to ensure the first matching + // is executed when the initial query is provided via -input= option. + this.#previousQuery = undefined; } get #matcher(): Matcher {