fix: remove unused _currentLine variable

This commit is contained in:
@gapmiss 2026-06-04 17:08:08 -05:00
parent ba3cf74ed7
commit 87bc426287
2 changed files with 1 additions and 11 deletions

1
.gitignore vendored
View file

@ -22,3 +22,4 @@ data.json
.DS_Store
.claude
CLAUDE.md

View file

@ -96,17 +96,6 @@ const viewPlugin = ViewPlugin.fromClass(class {
for (let n of lines) {
const line = view.state.doc.line(n);
const startOfLine = line.from;
const endOfLine = line.to;
let _currentLine = false;
currentSelections.forEach((r) => {
if (r.to >= startOfLine && r.from <= endOfLine) {
_currentLine = true;
return;
}
});
let matches = Array.from(line.text.matchAll(REGEXP))
for (const match of matches) {
let add = true