From 16e734dcdb5f40b35c565ac42398048109b031e0 Mon Sep 17 00:00:00 2001 From: worksofliam Date: Thu, 12 Dec 2024 13:11:10 -0500 Subject: [PATCH] Fix ruler not showing on line 2 Signed-off-by: worksofliam --- extension/client/src/language/columnAssist.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extension/client/src/language/columnAssist.ts b/extension/client/src/language/columnAssist.ts index 7425233..1ba5a23 100644 --- a/extension/client/src/language/columnAssist.ts +++ b/extension/client/src/language/columnAssist.ts @@ -125,9 +125,10 @@ function updateRuler(editor = window.activeTextEditor) { }) } }); + editor.setDecorations(notCurrentArea, decorations); - if (currentEditorLine !== lineNumber && lineNumber > 1) { + if (currentEditorLine !== lineNumber && lineNumber >= 1) { editor.setDecorations(outlineBar, [ { range: new Range(lineNumber-1, 0, lineNumber-1, 80),