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

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