Skip to content

Commit

Permalink
fix(change): Fix bug in setting applyingEdits variable
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyaowong committed Nov 30, 2023
1 parent 4b8f242 commit 8f6447c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/document_change_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,9 @@ export class DocumentChangeManager implements Disposable {
}
if (this.pendingEvents.length) {
this.applyEdits();
} else {
this.applyingEdits = false;
}
this.applyingEdits = false;
};

private onChangeTextDocument = async (e: TextDocumentChangeEvent): Promise<void> => {
Expand Down

0 comments on commit 8f6447c

Please sign in to comment.