add tag closing for tsx (for #34484)

This commit is contained in:
Martin Aeschlimann
2021-09-30 11:17:42 +02:00
parent 801dff2f3b
commit ab55b573ea
2 changed files with 8 additions and 6 deletions

View File

@@ -40,7 +40,6 @@ export function activateTagClosing(tagProvider: (document: TextDocument, positio
}
function onDidChangeTextDocument({ document, contentChanges, reason }: TextDocumentChangeEvent) {
console.log('onDidChangeTextDocument', contentChanges, reason);
if (!isEnabled || contentChanges.length === 0 || reason === TextDocumentChangeReason.Undo || reason === TextDocumentChangeReason.Redo) {
return;
}