mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Only register for file: and untitled: (fixes #33133)
This commit is contained in:
parent
377ad58a81
commit
af9f708041
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue