char/avril

(wip) why'd you have to go and make things so complicaaaaated?

git clone https://git.t4t.associates/char/avril

Charlotte Somexperiment: use native typescript lsp supportc7a9569

main
3.0 KiB111 linesraw
1{
2  "name": "avril",
3  "displayName": "avril",
4  "description": "Live avril language tooling and configuration highlighting.",
5  "publisher": "avril",
6  "version": "0.1.0",
7  "packageManager": "pnpm@11.27.0",
8  "engines": {
9    "vscode": "^1.90.0"
10  },
11  "categories": [
12    "Programming Languages"
13  ],
14  "scripts": {
15    "package": "vsce package --follow-symlinks --out avril.vsix",
16    "test": "node --test tests/*_test.cjs"
17  },
18  "dependencies": {
19    "avril-typescript": "file:./avril-typescript",
20    "vscode-languageclient": "9.0.1"
21  },
22  "devDependencies": {
23    "@vscode/vsce": "^4.0.0"
24  },
25  "contributes": {
26    "typescriptServerPlugins": [
27      {
28        "name": "avril-typescript",
29        "enableForWorkspaceTypeScriptVersions": true
30      }
31    ],
32    "languages": [
33      {
34        "id": "avril-config",
35        "aliases": [
36          "avril Config"
37        ],
38        "filenames": [
39          "avril.conf"
40        ],
41        "configuration": "./language-configuration.json"
42      }
43    ],
44    "grammars": [
45      {
46        "language": "avril-config",
47        "scopeName": "source.avril-config",
48        "path": "./avril-config.tmLanguage.json"
49      }
50    ],
51    "commands": [
52      {
53        "command": "avril.startLanguageServer",
54        "title": "avril: Start Language Server"
55      },
56      {
57        "command": "avril.stopLanguageServer",
58        "title": "avril: Stop Language Server"
59      }
60    ],
61    "configuration": {
62      "title": "avril Language Server",
63      "properties": {
64        "avril.lsp.autoStart": {
65          "type": "boolean",
66          "default": true,
67          "scope": "resource",
68          "description": "Automatically start the language server when the first local workspace folder contains avril.conf at its root."
69        },
70        "avril.lsp.backend": {
71          "type": "string",
72          "default": "",
73          "scope": "machine",
74          "description": "Absolute path to Avril's patched 7.1.0-dev.20261013.1 native TypeScript executable."
75        },
76        "avril.lsp.executable": {
77          "type": "string",
78          "default": "avril",
79          "scope": "machine",
80          "description": "avril executable providing the lsp command."
81        },
82        "avril.lsp.preferences": {
83          "type": "object",
84          "default": {},
85          "scope": "resource",
86          "description": "Native TypeScript language-service preferences, including inlay hints, reference code lenses, completion and formatting."
87        },
88        "avril.lsp.options": {
89          "type": "array",
90          "items": {
91            "type": "string"
92          },
93          "default": [],
94          "scope": "machine",
95          "description": "Live project CLI policy options, such as --offline, --frozen, --vendor=PATH, or capability restrictions."
96        }
97      }
98    }
99  },
100  "main": "./extension.cjs",
101  "capabilities": {
102    "untrustedWorkspaces": {
103      "supported": false
104    }
105  },
106  "activationEvents": [
107    "onCommand:avril.startLanguageServer",
108    "workspaceContains:avril.conf",
109    "onStartupFinished"
110  ]
111}