提交 888ffb91 编写于 作者: R rebornix

No folding when the folding section only contains one element

上级 35a0202f
......@@ -97,7 +97,7 @@ export class FoldingModel extends Disposable {
end: endIndex + 1,
rank: 1
};
});
}).filter(range => range.start !== range.end);
const newRegions = sanitizeRanges(rawFoldingRanges, 5000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册