Skip to content

Commit

Permalink
Merge pull request #79 from kuuote/fix-modeline
Browse files Browse the repository at this point in the history
Fix unnecessary triggered modeline evaluation
  • Loading branch information
Shougo authored Sep 2, 2023
2 parents f694513 + 9eb5090 commit cd1971a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ async function uiRedraw<
await ddu.uiQuit(denops, ui, uiOptions, uiParams);
}

await denops.cmd("doautocmd User Ddu:redraw");
await denops.cmd("doautocmd <nomodeline> User Ddu:redraw");
} catch (e: unknown) {
if (e instanceof Error && e.message.includes(" E523: ")) {
// NOTE: It may be called on invalid state
Expand Down

0 comments on commit cd1971a

Please sign in to comment.