diff --git a/denops/ddc/app.ts b/denops/ddc/app.ts index ba24ed5..eb8cff7 100644 --- a/denops/ddc/app.ts +++ b/denops/ddc/app.ts @@ -242,7 +242,11 @@ export function main(denops: Denops) { options.sources = ddc.prevSources; options.ui = ddc.prevUi; - context.event = ddc.prevEvent; + + if (ddc.prevEvent === "Manual") { + // Overwrite event if manaul completion + context.event = ddc.prevEvent; + } } await ddc.onEvent(