Skip to content

Commit

Permalink
Fix for Update event
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Feb 2, 2025
1 parent 5dd4b08 commit 769e372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions denops/ddc/ddc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ export class Ddc {

if (
completePos < 0 ||
(!forceCompletion && !triggerForIncomplete && invalidCompleteLength &&
(context.event !== "Manual" && context.event !== "Update"))
(invalidCompleteLength && !forceCompletion && !triggerForIncomplete &&
context.event !== "Manual")
) {
delete this.#prevResults[s.name];
return;
Expand Down

0 comments on commit 769e372

Please sign in to comment.