Do not fold closing tag (#132316)

This commit is contained in:
Justin Wei 2021-09-09 14:27:16 -07:00 committed by GitHub
parent febea8efd8
commit 0aaedebdb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ class TypeScriptFoldingProvider implements vscode.FoldingRangeProvider {
return new vscode.FoldingRange(start, end, kind);
}
private static readonly foldEndPairCharacters = ['}', ']', ')', '`'];
private static readonly foldEndPairCharacters = ['}', ']', ')', '`', '>'];
private adjustFoldingEnd(range: vscode.Range, document: vscode.TextDocument) {
// workaround for #47240