From 888bca90b974eb25da7a64d4077955107d4c0bec Mon Sep 17 00:00:00 2001 From: "JLDiaz (m)" Date: Wed, 20 May 2026 11:23:06 +0200 Subject: [PATCH] fix: remove unused from and to variables --- src/main.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index de67b58..94acf4d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -55,7 +55,6 @@ const copyLinkPlugin = ViewPlugin.fromClass( buildDecorations(view: EditorView): DecorationSet { const builder = new RangeSetBuilder(); const tree = syntaxTree(view.state); - const { from, to } = view.viewport; const selection = view.state.selection; for (const { from: lFrom, to: lTo } of view.visibleRanges) {