mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:04:14 +08:00
Use global scope for checking dependent registrations
This commit is contained in:
parent
7ab453370e
commit
af25bb8d5b
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user