Skip to content

Commit

Permalink
fix(config): ignore init path when nvim running in clean mode (#1503)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyaowong committed Oct 8, 2023
1 parent 6bd3614 commit 0615b3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export class MainController implements vscode.Disposable {
if (config.clean) {
args.push("--clean");
}
if (config.neovimInitPath) {
// #1162
if (!config.clean && config.neovimInitPath) {
args.push("-u", config.neovimInitPath);
}
logger.debug(
Expand Down

0 comments on commit 0615b3e

Please sign in to comment.