diff --git a/src/components/EditorCommon/config/Rules.js b/src/components/EditorCommon/config/Rules.js index 29203e10..c64244fa 100644 --- a/src/components/EditorCommon/config/Rules.js +++ b/src/components/EditorCommon/config/Rules.js @@ -29,6 +29,10 @@ export const Rules = { }; export const langConfig = { + comments: { + lineComment: '//', + blockComment: ['/*', '*/'], + }, surroundingPairs: [ { open: '{', close: '}' }, { open: '[', close: ']' },