Skip to content

Commit 4e08f19

Browse files
committed
Update for newer versions of Mint.
1 parent 2de0c6a commit 4e08f19

File tree

3 files changed

+22
-16
lines changed

3 files changed

+22
-16
lines changed

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "mint",
33
"license": "MIT",
44
"displayName": "Mint",
5-
"description": "VS Code Support for Mint a refreshing programming language for the front-end web development",
6-
"version": "0.6.0",
5+
"description": "VS Code Support for the Mint programming language.",
6+
"version": "0.7.0",
77
"publisher": "mint-lang",
88
"repository": {
99
"url": "https://github.com/mint-lang/mint-vscode"
1010
},
1111
"engines": {
12-
"vscode": "^1.49.0"
12+
"vscode": "^1.77.0"
1313
},
1414
"activationEvents": [
1515
"onLanguage:mint",
@@ -22,7 +22,7 @@
2222
},
2323
"devDependencies": {
2424
"@types/node": "^14.11.2",
25-
"@types/vscode": "^1.49.0",
25+
"@types/vscode": "^1.77.0",
2626
"js-yaml": "^3.14.0",
2727
"typescript": "^4.0.3"
2828
},
@@ -45,6 +45,12 @@
4545
"mint.languageServer.location": {
4646
"type": "string",
4747
"description": "Provide a custom location for the language server binary"
48+
},
49+
"mint.trace.server": {
50+
"scope": "window",
51+
"type": "string",
52+
"enum": ["off","messages","verbose"],
53+
"default": "verbose"
4854
}
4955
}
5056
},

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export async function activate(
3838
if (fs.existsSync(binaryLocation)) {
3939
// Create the language client
4040
client = new LanguageClient(
41-
'mint_language_server',
41+
'mint',
4242
'Mint Language Server',
4343
{
4444
command: binaryLocation,
45-
args: ['ls'],
45+
args: ['tool', 'ls'],
4646
},
4747
{
4848
documentSelector: [

0 commit comments

Comments
 (0)