未验证 提交 0aaedebd 编写于 作者: J Justin Wei 提交者: GitHub

Do not fold closing tag (#132316)

上级 febea8ef
...@@ -58,7 +58,7 @@ class TypeScriptFoldingProvider implements vscode.FoldingRangeProvider { ...@@ -58,7 +58,7 @@ class TypeScriptFoldingProvider implements vscode.FoldingRangeProvider {
return new vscode.FoldingRange(start, end, kind); return new vscode.FoldingRange(start, end, kind);
} }
private static readonly foldEndPairCharacters = ['}', ']', ')', '`']; private static readonly foldEndPairCharacters = ['}', ']', ')', '`', '>'];
private adjustFoldingEnd(range: vscode.Range, document: vscode.TextDocument) { private adjustFoldingEnd(range: vscode.Range, document: vscode.TextDocument) {
// workaround for #47240 // workaround for #47240
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册