diff --git a/README.md b/README.md index a4aac0b..3247015 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ To disable `typos` per workspace, see [disable this extension](https://code.visu This extension contributes the following settings: -- `typos.path`: Path to the `typos-lsp` binary. - `typos.logLevel`: Logging level of the language server. +- `typos.path`: Path to the `typos-lsp` binary. If empty the bundled binary will be used. - `typos.trace.server`: Traces the communication between VS Code and the language server. ## Commands diff --git a/package.json b/package.json index 69082fe..4bf6bf2 100644 --- a/package.json +++ b/package.json @@ -65,8 +65,13 @@ "messages", "verbose" ], + "enumDescriptions": [ + "No traces", + "Trace sent/received", + "Includes content of messages" + ], "default": "off", - "description": "Traces the communication between VS Code and the language server." + "description": "Traces the communication between VS Code and the language server. Recommended for debugging only." } } } diff --git a/src/extension.ts b/src/extension.ts index f6c5533..d4a9c17 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -97,7 +97,12 @@ async function createClient( traceOutputChannel: outputChannel, }; - return new LanguageClient(name, name, serverOptions, clientOptions); + return new LanguageClient( + name.toLowerCase(), + name, + serverOptions, + clientOptions + ); } async function getServerPath(