From 47c948a016276394d08f9a113fb672aca2982c1a Mon Sep 17 00:00:00 2001 From: timiimit <32331609+timiimit@users.noreply.github.com> Date: Sat, 20 Jul 2024 15:56:23 +0200 Subject: [PATCH] Add recursive substitution of `config:` variables --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 6364e77..a9763f1 100644 --- a/src/config.ts +++ b/src/config.ts @@ -57,7 +57,7 @@ function replacement(name: string): string|undefined { if (name.startsWith(configPrefix)) { const config = vscode.workspace.getConfiguration().get( name.substr(configPrefix.length)); - return (typeof config === 'string') ? config : undefined; + return (typeof config === 'string') ? substitute(config) : undefined; } return undefined;