We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ace135 commit 3d73afdCopy full SHA for 3d73afd
server/src/server.ts
@@ -1210,7 +1210,11 @@ function onMessage(msg: p.Message) {
1210
};
1211
initialized = true;
1212
1213
- sendLogNotification(p.MessageType.Info, `LSP Server started!`)
+ let rescriptVersion = undefined;
1214
+ if (initParams.workspaceFolders && initParams.workspaceFolders.length > 0) {
1215
+ rescriptVersion = utils.findReScriptVersion(initParams.workspaceFolders[0].uri);
1216
+ }
1217
+ sendLogNotification(p.MessageType.Info, `LSP Server started! Rescript Version ${rescriptVersion}`);
1218
1219
// Periodically pull configuration from the client.
1220
pullConfigurationPeriodically = setInterval(() => {
0 commit comments