Skip to content

Commit dc3f546

Browse files
committed
Fix typo in _onActiveTextEditorChange
1 parent 78c4a28 commit dc3f546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/fileOpenCloseProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class FileOpenCloseProvider implements IDisposable {
2929
this._disposable = new CompositeDisposable(this._diagnostics,
3030
vscode.workspace.onDidOpenTextDocument(this._onDocumentOpen, this),
3131
vscode.workspace.onDidCloseTextDocument(this._onDocumentClose, this),
32-
vscode.window.onDidChangeActiveTextEditor(this._onActiveTextEditorChnage, this)
32+
vscode.window.onDidChangeActiveTextEditor(this._onActiveTextEditorChange, this)
3333
);
3434
}
3535

@@ -49,7 +49,7 @@ class FileOpenCloseProvider implements IDisposable {
4949
await serverUtils.fileClose(this._server, { FileName: e.fileName });
5050
}
5151

52-
private async _onActiveTextEditorChnage(e: vscode.TextEditor) {
52+
private async _onActiveTextEditorChange(e: vscode.TextEditor) {
5353
if (shouldIgnoreDocument(e.document)) {
5454
return;
5555
}

0 commit comments

Comments
 (0)