提交 af9f7080 编写于 作者: C Christof Marti

Only register for file: and untitled: (fixes #33133)

上级 377ad58a
......@@ -97,6 +97,9 @@ export default class MergeConflictCodeLensProvider implements vscode.CodeLensPro
}
private registerCodeLensProvider() {
this.codeLensRegistrationHandle = vscode.languages.registerCodeLensProvider({ pattern: '**/*' }, this);
this.codeLensRegistrationHandle = vscode.languages.registerCodeLensProvider([
{ scheme: 'file' },
{ scheme: 'untitled' },
], this);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册