Skip to content

Commit

Permalink
fix zigProvider when modifying zig.path config option
Browse files Browse the repository at this point in the history
The active Zig executable would previously not be updated when changing the `zig.path` config option.
  • Loading branch information
Techatrix committed Dec 13, 2024
1 parent b592189 commit bd5d63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zigProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class ZigProvider implements vscode.Disposable {
if (change.affectsConfiguration("zig.path")) {
const newValue = this.resolveZigPathConfigOption();
if (newValue) {
this.set(this.value);
this.set(newValue);
}
}
}),
Expand Down

0 comments on commit bd5d63d

Please sign in to comment.