Use global scope for checking dependent registrations

This commit is contained in:
Matt Bierner
2018-06-13 17:32:38 -07:00
parent 7ab453370e
commit af25bb8d5b

View File

@@ -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<boolean>(this.configValue));
}
}