Skip to content

Commit 229f352

Browse files
committed
refactor: restart coc.nvim upon finished of doq built-in install
1 parent 5b02efc commit 229f352

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/commands/install.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export async function installWrapper(context: ExtensionContext, pythonCommand: s
2222
if (ret) {
2323
try {
2424
await doqInstall(pythonCommand, context);
25+
commands.executeCommand('editor.action.restart');
2526
} catch (e) {
2627
return;
2728
}
@@ -30,5 +31,6 @@ export async function installWrapper(context: ExtensionContext, pythonCommand: s
3031
}
3132
} else {
3233
await doqInstall(pythonCommand, context);
34+
commands.executeCommand('editor.action.restart');
3335
}
3436
}

0 commit comments

Comments
 (0)