From c906f03eb373a2ab8c880819930a2ca5da838871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guszt=C3=A1v=20Szikszai?= Date: Wed, 20 Jan 2021 14:11:30 +0100 Subject: [PATCH] Use camel case for the configuration. --- package.json | 2 +- src/extension.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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,