We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa977b0 commit c40b7e2Copy full SHA for c40b7e2
denops/askpass/main.ts
@@ -21,6 +21,7 @@ export async function main(denops: Denops): Promise<void> {
21
);
22
});
23
const askpass = path.fromFileUrl(new URL("./cli.ts", import.meta.url));
24
+ const display = await vars.e.get(denops, "DISPLAY", "dummy:0");
25
await batch.batch(denops, async (denops) => {
26
await vars.e.set(denops, "ASKPASS", askpass);
27
if (!disableSsh) {
@@ -29,7 +30,7 @@ export async function main(denops: Denops): Promise<void> {
29
30
await vars.e.set(
31
denops,
32
"DISPLAY",
- await vars.e.get(denops, "DISPLAY", "dummy:0"),
33
+ display,
34
35
await vars.e.set(denops, "SSH_ASKPASS", askpass);
36
}
0 commit comments