Skip to content

Commit 28e5378

Browse files
authored
Merge pull request #617 from coltenwebb/fix/traceserver
Fix trace.server option
2 parents 2e96014 + adbd717 commit 28e5378

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@
9898
"type": "string",
9999
"enum": [
100100
"off",
101-
"messages"
101+
"messages",
102+
"verbose"
102103
],
103104
"default": "off",
104105
"description": "Traces the communication between VS Code and the language server."

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ async function activateServerForFolder(context: ExtensionContext, uri: Uri, fold
282282
};
283283

284284
// Create the LSP client.
285-
const langClient = new LanguageClient(langName, langName, serverOptions, clientOptions);
285+
const langClient = new LanguageClient('haskell', langName, serverOptions, clientOptions);
286286

287287
// Register ClientCapabilities for stuff like window/progress
288288
langClient.registerProposedFeatures();

0 commit comments

Comments
 (0)