fix: Restore newlines in code line numbers as safety measure

This commit is contained in:
Tom Moor
2023-02-25 17:51:31 -05:00
parent 64371b82d1
commit f0484c8417

View File

@@ -104,7 +104,7 @@ function getDecorations({
const lineCountText = new Array(lineCount)
.fill(0)
.map((_, i) => padStart(`${i + 1}`, gutterWidth, " "))
.join(" ");
.join(" \n");
lineDecorations.push(
Decoration.node(