Skip to content

Commit 83075bb

Browse files
committed
Rename icons_manager in one last place
1 parent eb85f38 commit 83075bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/jupyterlab-lsp/src/features/completion/completion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class CompletionLabIntegration implements IFeatureLabIntegration {
163163
}
164164
this.current_completion_connector = new LSPConnector({
165165
editor: editor,
166-
icons_manager: this.completionThemeManager,
166+
themeManager: this.completionThemeManager,
167167
connections: this.current_adapter.connection_manager.connections,
168168
virtual_editor: this.current_adapter.virtual_editor,
169169
settings: this.settings,

packages/jupyterlab-lsp/src/features/completion/completion_handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export class LSPConnector
296296
if (typeof type === 'undefined' || type == '<unknown>') {
297297
type = KernelKind;
298298
}
299-
return (this.options.icons_manager.get_icon(type) as LabIcon) || undefined;
299+
return (this.options.themeManager.get_icon(type) as LabIcon) || undefined;
300300
}
301301

302302
private transform_reply(
@@ -420,7 +420,7 @@ export namespace LSPConnector {
420420

421421
settings: FeatureSettings<LSPCompletionSettings>;
422422

423-
icons_manager: ILSPCompletionThemeManager;
423+
themeManager: ILSPCompletionThemeManager;
424424

425425
session?: Session.ISessionConnection;
426426
}

0 commit comments

Comments
 (0)