-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
218 lines (218 loc) · 5.89 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "rzk-1-experimental-highlighting",
"displayName": "Rzk",
"description": "Interactive theorem proving support in VS Code for Rzk, a proof assistant for synthetic ∞-categories",
"icon": "images/icon.png",
"version": "0.4.5",
"repository": "https://github.com/rzk-lang/vscode-rzk",
"publisher": "NikolaiKudasovfizruk",
"main": "./out/extension.js",
"activationEvents": [
"workspaceContains:rzk.yaml"
],
"scripts": {
"vscode:prepublish": "npm run build",
"build": "esbuild src/extension.ts --bundle --platform=node --external:vscode --outdir=out --minify",
"watch": "esbuild src/extension.ts --bundle --platform=node --external:vscode --outdir=out --watch"
},
"engines": {
"vscode": "^1.79.1"
},
"categories": [
"Programming Languages"
],
"contributes": {
"grammars": [
{
"language": "rzk",
"scopeName": "source.rzk",
"path": "./syntaxes/rzk.tmLanguage.json"
},
{
"language": "literate rzk markdown",
"scopeName": "text.html.markdown.rzk",
"path": "./syntaxes/literate-rzk-markdown.tmLanguage.json",
"filenamePatterns": [
"*.rzk.md"
]
},
{
"path": "./syntaxes/rzk-markdown-injection.tmLanguage.json",
"scopeName": "source.rzk.embedded.markdown",
"injectTo": [
"text.html.markdown",
"source.markdown",
"source.markdown.rzk"
],
"embeddedLanguages": {
"meta.embedded.block.rzk": "rzk"
}
},
{
"language": "literate rzk latex",
"scopeName": "text.tex.latex.rzk",
"path": "./syntaxes/literate-rzk-latex.tmLanguage.json"
},
{
"scopeName": "source.rzk.embedded.latex",
"path": "./syntaxes/rzk-latex-injection.tmLanguage.json",
"injectTo": [
"text.tex.latex.rzk"
],
"embeddedLanguages": {
"meta.embedded.block.rzk": "rzk"
}
}
],
"languages": [
{
"id": "rzk",
"aliases": [
"rzk-1",
"rzk"
],
"extensions": [
".rzk"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/rzk-light.png",
"dark": "./icons/rzk-dark.png"
},
"scopeName": "source.rzk"
},
{
"id": "literate rzk markdown",
"aliases": [
"Literate Rzk-1 Markdown",
"literate rzk-1 markdown",
"rzk-1 markdown",
"rzk-1-md",
"Literate Rzk Markdown",
"literate rzk markdown",
"rzk markdown",
"rzk-md"
],
"extensions": [
".rzk.md"
],
"filenamePatterns": [
"*.rzk.md"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/rzk-md-light.png",
"dark": "./icons/rzk-md-dark.png"
},
"scopeName": "text.html.markdown.rzk"
},
{
"id": "literate rzk latex",
"aliases": [
"Literate Rzk-1 LaTeX",
"Literate Rzk-1 Latex",
"literate rzk-1 latex",
"Rzk-1 LaTeX",
"Rzk-1 Latex",
"rzk-1 latex",
"rzk-1-tex",
"Literate Rzk LaTeX",
"Literate Rzk Latex",
"literate rzk latex",
"Rzk LaTeX",
"Rzk Latex",
"rzk latex",
"rzk-latex",
"rzk-tex"
],
"extensions": [
".rzk.tex"
],
"filenamePatterns": [
"*.rzk.tex"
],
"icon": {
"light": "./icons/rzk-tex-light.png",
"dark": "./icons/rzk-tex-dark.png"
},
"scopeName": "text.tex.latex.rzk"
}
],
"configuration": {
"title": "Rzk",
"properties": {
"rzk.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable the Rzk formatter"
},
"rzk.path": {
"type": "string",
"default": "",
"description": "The path and file name of the Rzk executable to use. If not set, will default to using `rzk` from the system PATH",
"scope": "machine-overridable"
},
"rzk.fetchPrereleases": {
"type": "boolean",
"default": false,
"description": "If true, will include releases marked as \"pre-release\" on GitHub when fetching the latest binaries"
}
}
},
"configurationDefaults": {
"[rzk][literate rzk markdown]": {
"editor.defaultFormatter": "NikolaiKudasovfizruk.rzk-1-experimental-highlighting",
"editor.rulers": [
80
],
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
},
"menus": {
"editor/title": [
{
"when": "resourceLangId == 'literate rzk markdown'",
"command": "markdown.showPreviewToSide",
"alt": "markdown.showPreview",
"group": "navigation"
}
]
},
"commands": [
{
"command": "rzk.clearLocalInstallations",
"title": "Rzk: Clear local Rzk installation"
},
{
"command": "rzk.restartLspServer",
"title": "Rzk: Restart LSP server"
}
],
"yamlValidation": [
{
"fileMatch": "rzk.yaml",
"url": "./rzk-config-schema.json"
}
]
},
"devDependencies": {
"@types/node": "^20.3.1",
"@types/semver": "^7.5.0",
"@types/tar": "^6.1.5",
"@types/vscode": "^1.79.1",
"esbuild": "^0.18.11",
"js-yaml": "^4.1.0",
"typescript": "^5.1.3"
},
"dependencies": {
"@octokit/rest": "^19.0.13",
"semver": "^7.5.3",
"tar": "^6.1.15",
"vscode-languageclient": "^8.1.0"
}
}