lean4monaco 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/leanmonaco.js +1 -9
- package/package.json +1 -1
package/dist/leanmonaco.js
CHANGED
|
@@ -96,15 +96,7 @@ export class LeanMonaco {
|
|
|
96
96
|
getElanDefaultToolchain: () => { return "lean4/stable"; }
|
|
97
97
|
}, { appendLine: () => { }
|
|
98
98
|
}, setupMonacoClient(this.getWebSocketOptions(options)), checkLean4ProjectPreconditions);
|
|
99
|
-
|
|
100
|
-
switch (path) {
|
|
101
|
-
case "media/progress-light.svg": return Uri.parse(`${new URL('vscode-lean4/vscode-lean4/media/progress-light.svg', import.meta.url)}`);
|
|
102
|
-
case "media/progress-dark.svg": return Uri.parse(`${new URL('vscode-lean4/vscode-lean4/media/progress-dark.svg', import.meta.url)}`);
|
|
103
|
-
case "media/progress-error-light.svg": return Uri.parse(`${new URL('vscode-lean4/vscode-lean4/media/progress-error-light.svg', import.meta.url)}`);
|
|
104
|
-
case "media/progress-error-dark.svg": return Uri.parse(`${new URL('vscode-lean4/vscode-lean4/media/progress-error-dark.svg', import.meta.url)}`);
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
this.taskGutter = new LeanTaskGutter(this.clientProvider, { asAbsolutePath });
|
|
99
|
+
this.taskGutter = new LeanTaskGutter(this.clientProvider, { asAbsolutePath: (path) => Uri.parse(`${new URL('vscode-lean4/vscode-lean4/' + path, import.meta.url)}`), });
|
|
108
100
|
const fontFile = new FontFace("JuliaMono", `url(${new URL("./JuliaMono-Regular.ttf", import.meta.url)})`);
|
|
109
101
|
document.fonts.add(fontFile);
|
|
110
102
|
this.iframeWebviewFactory = new IFrameInfoWebviewFactory(themeService, configurationService, fontFile);
|