Skip to content

Commit f2d8d51

Browse files
committed
formatting
1 parent cfe6666 commit f2d8d51

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"hylo.languageServer.version": {
296296
"type": "string",
297297
"default": "latest",
298-
"description": "Version of the Hylo language server to use. Set to 'latest' to automatically download the latest version, or specify a version tag (e.g., 'v1.0.0'). This can be also set to `bundled` to use the version bundled with the extension."
298+
"description": "Version of the Hylo language server to use. Set to 'latest' to automatically download the latest version, or specify a version tag (e.g., 'v1.0.0'). This can be also set to `bundled` to use the version bundled with the extension."
299299
},
300300
"hylo.languageServer.autoUpdate": {
301301
"type": "boolean",

src/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
export const LSP_REPOSITORY_URL = 'https://api.github.com/repos/hylo-lang/hylo-language-server';
1+
export const LSP_REPOSITORY_URL =
2+
'https://api.github.com/repos/hylo-lang/hylo-language-server';

src/extension-keys.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
export enum ExtensionCommands {
2-
RUN_CURRENT_FILE = 'hylo.runCurrentFile',
3-
RUN_FOLDER = 'hylo.compileAndRunFolder',
4-
START_DEBUGGING = 'hylo.startDebugging',
5-
RESTART_LANGUAGE_SERVER = 'hylo.restartLanguageServer',
6-
UPDATE_LANGUAGE_SERVER = 'hylo.updateLanguageServer',
1+
export enum ExtensionCommands {
2+
RUN_CURRENT_FILE = 'hylo.runCurrentFile',
3+
RUN_FOLDER = 'hylo.compileAndRunFolder',
4+
START_DEBUGGING = 'hylo.startDebugging',
5+
RESTART_LANGUAGE_SERVER = 'hylo.restartLanguageServer',
6+
UPDATE_LANGUAGE_SERVER = 'hylo.updateLanguageServer'
77
}
88

99
export const TOP_LEVEL_CONFIG_KEY = 'hylo.languageServer';
1010

1111
export enum ConfigurationKeys {
12-
VERSION = 'version',
13-
AUTO_UPDATE = 'autoUpdate',
14-
}
12+
VERSION = 'version',
13+
AUTO_UPDATE = 'autoUpdate'
14+
}

src/extension.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,9 @@ async function initializeLanguageServer(
153153
client.registerProposedFeatures();
154154
client.setTrace(Trace.Messages);
155155

156-
client
157-
.start()
158-
.then(() => {
159-
outputChannel.appendLine(`Language server started successfully.`);
160-
});
156+
client.start().then(() => {
157+
outputChannel.appendLine(`Language server started successfully.`);
158+
});
161159

162160
return client;
163161
}

0 commit comments

Comments
 (0)