Skip to content

Commit cea6b6b

Browse files
committed
🐛 Use double quotes in Windows
1 parent 10e8dd9 commit cea6b6b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

denops/guise/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,13 @@ export async function main(denops: Denops): Promise<void> {
5353
"--headless",
5454
];
5555
}
56+
const progpath = denops.meta.platform === "windows"
57+
? `"${config.progpath}"`
58+
: `'${config.progpath}'`;
5659
await vars.e.set(
5760
denops,
5861
"EDITOR",
59-
`'${config.progpath}' ${args.join(" ")}`,
62+
`${progpath} ${args.join(" ")}`,
6063
);
6164
}
6265
}

0 commit comments

Comments
 (0)