Skip to content

Commit

Permalink
Add gitlens readonly scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
zjffun committed Dec 16, 2023
1 parent c270910 commit 775079d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DrawioEditorProviderText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class DrawioEditorProviderText implements CustomTextEditorProvider {
token: CancellationToken
): Promise<void> {
try {
const readonlySchemes = new Set(["git", "conflictResolution"]);
const readonlySchemes = new Set(["git", "conflictResolution", "gitlens"]);
const isReadOnly = readonlySchemes.has(document.uri.scheme);

const editor =
Expand Down

0 comments on commit 775079d

Please sign in to comment.