mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Use JavaScript for the language to get syntax highlighting, but not tooling
This commit is contained in:
parent
7a46ec2649
commit
86f6d762df
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ export class WorkerManager {
|
|||
// Adds all of the .d.ts lib files into Monaco as editor models,
|
||||
// this allows themm to show up in peek (and allow editing if desired).
|
||||
for (const key in libFileMap) {
|
||||
monaco.editor.createModel(libFileMap[key], "ts", monaco.Uri.file(key))
|
||||
monaco.editor.createModel(libFileMap[key], "javascript", monaco.Uri.file(key))
|
||||
}
|
||||
|
||||
this._worker = monaco.editor.createWebWorker<TypeScriptWorker>({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue