Skip to content

Commit a1251a3

Browse files
committed
Fix spelling typo
1 parent b58db09 commit a1251a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/features/documentHighlightProvider.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class LogtalkDocumentHighlightProvider
1616
position: Position,
1717
token: CancellationToken
1818
): Thenable<DocumentHighlight[]> | DocumentHighlight[] {
19-
let docHilite: DocumentHighlight[] = [];
19+
let docHighlight: DocumentHighlight[] = [];
2020
let wordRange = doc.getWordRangeAtPosition(position);
2121
if (!wordRange) {
2222
return;
@@ -30,7 +30,7 @@ export default class LogtalkDocumentHighlightProvider
3030
let lineTxt = doc.lineAt(line).text;
3131
let match = re.exec(lineTxt);
3232
while (match) {
33-
docHilite.push(
33+
docHighlight.push(
3434
new DocumentHighlight(
3535
new Range(line, match["index"], line, match["index"] + symbolLen)
3636
)
@@ -39,6 +39,6 @@ export default class LogtalkDocumentHighlightProvider
3939
}
4040
line++;
4141
}
42-
return docHilite;
42+
return docHighlight;
4343
}
4444
}

0 commit comments

Comments
 (0)