mirror of
https://github.com/jldiaz/copy-protocol-plugin.git
synced 2026-07-22 06:56:55 +00:00
fix: remove unused from and to variables
This commit is contained in:
parent
4983397c7f
commit
888bca90b9
1 changed files with 0 additions and 1 deletions
|
|
@ -55,7 +55,6 @@ const copyLinkPlugin = ViewPlugin.fromClass(
|
|||
buildDecorations(view: EditorView): DecorationSet {
|
||||
const builder = new RangeSetBuilder<Decoration>();
|
||||
const tree = syntaxTree(view.state);
|
||||
const { from, to } = view.viewport;
|
||||
const selection = view.state.selection;
|
||||
|
||||
for (const { from: lFrom, to: lTo } of view.visibleRanges) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue