diff --git a/package.json b/package.json index 876943e..fd935cf 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "type": "object", "title": "Mint Language Server", "properties": { - "mint_language_server.location": { + "mint.languageServer.location": { "type": "string", "description": "Provide a custom location for the language server binary" } diff --git a/src/extension.ts b/src/extension.ts index b1f89d9..0a4e58f 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -32,13 +32,13 @@ export async function activate( vscode.commands.registerCommand("mint.test", cmd.mintTestCommand); vscode.commands.registerCommand("mint.version", cmd.mintVersionCommand); - let binaryLocation : string = vscode.workspace.getConfiguration('mint_language_server').get('location') + let binaryLocation : string = vscode.workspace.getConfiguration('mint.languageServer').get('location') if (binaryLocation) { if (fs.existsSync(binaryLocation)) { // Create the language client client = new LanguageClient( - 'mint_language_server', + 'mint_Language_Server', 'Mint Language Server', { command: binaryLocation,