Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Apr 25, 2024
1 parent 88fe192 commit 53fea03
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -47,14 +47,15 @@ export class DocumentManager {
let document: Document;
if (this.documents.has(textDocument.uri)) {
document = this.documents.get(textDocument.uri)!;
document.openedByClient = openedByClient;
document.setText(textDocument.text);
} else {
document = this.createDocument(textDocument);
document.openedByClient = openedByClient;
this.documents.set(textDocument.uri, document);
this.notify('documentOpen', document);
}

document.openedByClient = openedByClient;
this.notify('documentChange', document);

return document;
Expand Down

0 comments on commit 53fea03

Please sign in to comment.