Skip to content

Commit aacba06

Browse files
committed
fix: minor fix
1 parent 0aa0a24 commit aacba06

File tree

7 files changed

+130
-143
lines changed

7 files changed

+130
-143
lines changed

src/monaco/Monaco.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ onMounted(async () => {
6969
});
7070
editor.value = editorInstance
7171
72-
// const ls = await setupLs(editorInstance, documentModelMap)
73-
7472
await loadGrammars(editorInstance);
7573
7674
editorInstance.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyS, () => {

src/monaco/env.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export function setupMonacoEnv() {
55
(self as any).MonacoEnvironment = {
66
async getWorker(_: any, label: string) {
77
if (label === 'vue') {
8-
console.log('label vue')
98
return new vueWorker();
109
}
1110
return new editorWorker();

src/monaco/monaco.contribution.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type * as mode from './vueMode';
2-
import { Emitter, type IEvent, languages, Uri } from 'monaco-editor-core';
2+
import { Emitter, type IEvent, languages } from 'monaco-editor-core';
33
import { debounce } from '../utils';
44

55
export interface ModeConfiguration {
@@ -63,7 +63,6 @@ class LanguageServiceDefaultsImpl implements LanguageServiceDefaults {
6363

6464
private fireExtraLibChangeSoon = debounce(() => {
6565
this._onExtraLibChange.fire(this);
66-
console.log('fire')
6766
}, 300)
6867
}
6968

src/monaco/services.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { worker } from 'monaco-editor-core';
2-
// import { prepareServiceVirtualFiles } from './prepare';
32
import * as ts from 'typescript/lib/tsserverlibrary';
43
import {
54
createLanguageService,

0 commit comments

Comments
 (0)