mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
API tweak from the standup discussion
This commit is contained in:
@@ -112,5 +112,6 @@ export function register(
|
||||
selector: vscode.DocumentSelector,
|
||||
client: ITypeScriptServiceClient
|
||||
) {
|
||||
return vscode.languages.registerSemanticColoringProvider(selector, new SemanticColoringProvider(client));
|
||||
const provider = new SemanticColoringProvider(client);
|
||||
return vscode.languages.registerSemanticColoringProvider(selector, provider, provider.getLegend());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user