|
1 | 1 | { |
2 | 2 | "name": "mshell", |
3 | 3 | "displayName": "mshell", |
4 | | - "publisher": "MitchellPaulus", |
5 | | - "version": "0.6.4", |
6 | | - "engines": { "vscode": "^1.90.0" }, |
| 4 | + "description": "Syntax highlighting and language support for the mshell concatenative shell language", |
| 5 | + "publisher": "MitchellPaulus", |
| 6 | + "version": "0.9.0", |
| 7 | + "engines": { "vscode": "^1.90.0" }, |
7 | 8 | "categories": ["Programming Languages"], |
| 9 | + "main": "./out/extension.js", |
| 10 | + "activationEvents": [ |
| 11 | + "onLanguage:mshell" |
| 12 | + ], |
8 | 13 | "contributes": { |
9 | 14 | "languages": [ |
10 | 15 | { |
11 | 16 | "id": "mshell", |
12 | 17 | "aliases": ["msh"], |
13 | 18 | "extensions": [".msh", ".mshell"], |
14 | | - "firstLine": "^#!.*\\b(mshell|msh)\\b" |
| 19 | + "firstLine": "^#!.*\\b(mshell|msh)\\b", |
| 20 | + "configuration": "./language-configuration.json" |
15 | 21 | } |
16 | 22 | ], |
17 | 23 | "grammars": [ |
18 | 24 | { |
19 | 25 | "language": "mshell", |
20 | | - "scopeName": "source.mshell", |
| 26 | + "scopeName": "source.mshell", |
21 | 27 | "path": "./syntaxes/mshell.textmate.json" |
22 | 28 | } |
23 | 29 | ], |
|
26 | 32 | "editor.insertSpaces": true, |
27 | 33 | "editor.tabSize": 2 |
28 | 34 | } |
| 35 | + }, |
| 36 | + "configuration": { |
| 37 | + "title": "mshell", |
| 38 | + "properties": { |
| 39 | + "mshell.lspPath": { |
| 40 | + "type": "string", |
| 41 | + "default": "msh", |
| 42 | + "description": "Path to the msh executable for the language server" |
| 43 | + } |
| 44 | + } |
29 | 45 | } |
30 | 46 | }, |
| 47 | + "scripts": { |
| 48 | + "vscode:prepublish": "npm run compile", |
| 49 | + "compile": "tsc -p ./", |
| 50 | + "watch": "tsc -watch -p ./" |
| 51 | + }, |
| 52 | + "dependencies": { |
| 53 | + "vscode-languageclient": "^9.0.1" |
| 54 | + }, |
| 55 | + "devDependencies": { |
| 56 | + "@types/node": "^20.11.0", |
| 57 | + "@types/vscode": "^1.90.0", |
| 58 | + "typescript": "^5.3.3" |
| 59 | + }, |
31 | 60 | "repository": { "type": "git", "url": "https://github.com/mitchpaulus/mshell" }, |
32 | 61 | "bugs": { "url": "https://github.com/mitchpaulus/mshell" }, |
33 | 62 | "license": "MIT" |
|
0 commit comments