Skip to content

Commit

Permalink
feat: Add comments configuration to langConfig in Rules.js (#187)
Browse files Browse the repository at this point in the history
* feat: Add comments configuration to langConfig in Rules.js

* fmt
  • Loading branch information
kartik-gupta-ij authored Jun 4, 2024
1 parent 060006e commit 22fd208
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/EditorCommon/config/Rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export const Rules = {
};

export const langConfig = {
comments: {
lineComment: '//',
blockComment: ['/*', '*/'],
},
surroundingPairs: [
{ open: '{', close: '}' },
{ open: '[', close: ']' },
Expand Down

0 comments on commit 22fd208

Please sign in to comment.