diff --git a/frontend/src/domain/code-editor/components/code-editor.tsx b/frontend/src/domain/code-editor/components/code-editor.tsx index 61fbc8b..e2f490f 100644 --- a/frontend/src/domain/code-editor/components/code-editor.tsx +++ b/frontend/src/domain/code-editor/components/code-editor.tsx @@ -34,9 +34,9 @@ function handleEditorWillMount(monaco: Monaco) { [/\/\/.*$/, 'comment'] ], comment: [ - [/[^\/*]+/, 'comment'], + [/[^/*]+/, 'comment'], [/\*\//, 'comment', '@pop'], - [/[\/*]/, 'comment'] + [/[/*]/, 'comment'] ], linecomment: [ [/.*[^\\]$/, 'comment', '@pop'],