Fetch semantic tokens only after the document has been sent to the ext host

上级 7761e75d
......@@ -474,7 +474,7 @@ class ModelSemanticColoring extends Disposable {
this._register(this._model.onDidChangeContent(e => this._fetchSemanticTokens.schedule()));
this._register(SemanticColoringProviderRegistry.onDidChange(e => this._fetchSemanticTokens.schedule()));
this._fetchSemanticTokensNow();
this._fetchSemanticTokens.schedule(0);
}
public dispose(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册