From bd5d63dbe3fa16df0a5f6866a1c237164b8fc94c Mon Sep 17 00:00:00 2001 From: Techatrix Date: Fri, 13 Dec 2024 16:19:35 +0100 Subject: [PATCH] fix zigProvider when modifying zig.path config option The active Zig executable would previously not be updated when changing the `zig.path` config option. --- src/zigProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zigProvider.ts b/src/zigProvider.ts index af3388d..48c00c3 100644 --- a/src/zigProvider.ts +++ b/src/zigProvider.ts @@ -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); } } }),