Skip to content

Commit 70b2116

Browse files
committed
Use default value for new branch name
1 parent ab4372b commit 70b2116

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

denops/gin/action/branch_new.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ async function doNew(
4747
const from = x?.target ?? "HEAD";
4848
const name = await helper.input(denops, {
4949
prompt: `New branch (from ${from}): `,
50+
text: from,
5051
});
5152
await denops.cmd('redraw | echo ""');
5253
if (!name) {

0 commit comments

Comments
 (0)