Skip to content

Commit

Permalink
Fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSpicyBurrito committed Jul 5, 2023
1 parent c8b9d22 commit 73124a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ export function activate(context: vscode.ExtensionContext) {
)
if (token.isCancellationRequested) return

currentDecorations.forEach(([editor, type]) =>
editor.setDecorations(type, [])
)
currentDecorations.forEach(([, type]) => type.dispose())

currentDecorations = decorations
currentDecorations.forEach(([editor, type, line]) =>
Expand Down

0 comments on commit 73124a8

Please sign in to comment.