mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-09 23:35:49 +01:00
only calculate for chat provider
This commit is contained in:
@@ -362,7 +362,7 @@ export class AccessibleView extends Disposable {
|
||||
}
|
||||
|
||||
calculateCodeBlocks(markdown: string): void {
|
||||
if (!this._currentProvider) {
|
||||
if (!this._currentProvider || this._currentProvider.options.id !== AccessibleViewProviderId.Chat) {
|
||||
return;
|
||||
}
|
||||
if (this._currentProvider.options.language && this._currentProvider.options.language !== 'markdown') {
|
||||
|
||||
Reference in New Issue
Block a user