Skip to content

Commit

Permalink
Need InsertLeave on jump to close pum's UI
Browse files Browse the repository at this point in the history
  • Loading branch information
uga-rosa committed Dec 18, 2023
1 parent 2c51be9 commit 25c0d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions denops/denippet/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export function main(denops: Denops): void {
}
session.guard();
await session.jump(dir);
await denops.cmd("do InsertLeave");
session.unguard();
if (
session.snippet?.currentNode().tabstop === 0 &&
Expand Down

0 comments on commit 25c0d0e

Please sign in to comment.