Skip to content

Commit 3c35d23

Browse files
committed
Var name change, remove log
1 parent ef0b4b0 commit 3c35d23

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

packages/jupyterlab-lsp/src/connection_manager.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class DocumentConnectionManager {
134134
const language_server_id = this.language_server_manager.getServerId({
135135
language
136136
});
137-
console.log('LS ID: ', language_server_id);
137+
138138
// lazily load 1) the underlying library (1.5mb) and/or 2) a live WebSocket-
139139
// like connection: either already connected or potentiailly in the process
140140
// of connecting.
@@ -158,13 +158,10 @@ export class DocumentConnectionManager {
158158
* "serverSettings" keyword in the setting registry. New keywords can
159159
* be added and extra functionality implemented here when needed.
160160
*/
161-
public updateServerConfigurations(
162-
// TODO: define types for server configurations
163-
lsSettings: any
164-
) {
165-
for (let language_server_id in lsSettings) {
161+
public updateServerConfigurations(allServerSettings: any) {
162+
for (let language_server_id in allServerSettings) {
166163
const parsedSettings = vscodeStyleSettingsParser(
167-
lsSettings[language_server_id].serverSettings
164+
allServerSettings[language_server_id].serverSettings
168165
);
169166

170167
const serverSettings: ILanguageServerConfiguration = {

0 commit comments

Comments
 (0)