Skip to content

Commit

Permalink
Use camel case for the configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Jan 20, 2021
1 parent cd425e7 commit c906f03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c906f03

Please # to comment.