diff --git a/extensions/typescript-language-features/src/utils/dependentRegistration.ts b/extensions/typescript-language-features/src/utils/dependentRegistration.ts index 18a0a2d7421..9013dd28bc9 100644 --- a/extensions/typescript-language-features/src/utils/dependentRegistration.ts +++ b/extensions/typescript-language-features/src/utils/dependentRegistration.ts @@ -89,7 +89,7 @@ export class ConfigurationDependentRegistration { } private update() { - const config = vscode.workspace.getConfiguration(this.language); + const config = vscode.workspace.getConfiguration(this.language, null); this._registration.update(!!config.get(this.configValue)); } }