We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190243e commit 61c08f8Copy full SHA for 61c08f8
server/src/server.ts
@@ -1235,7 +1235,11 @@ function onMessage(msg: p.Message) {
1235
};
1236
initialized = true;
1237
1238
- sendLogNotification(p.MessageType.Info, `LSP Server started!`)
+ let rescriptVersion = undefined;
1239
+ if (initParams.workspaceFolders && initParams.workspaceFolders.length > 0) {
1240
+ rescriptVersion = utils.findReScriptVersion(initParams.workspaceFolders[0].uri);
1241
+ }
1242
+ sendLogNotification(p.MessageType.Info, `LSP Server started! Rescript Version ${rescriptVersion}`);
1243
1244
// Periodically pull configuration from the client.
1245
pullConfigurationPeriodically = setInterval(() => {
0 commit comments