Skip to content

Commit a423203

Browse files
committed
[groovy mode] Add comment metadata
Closes #5906
1 parent 7978b40 commit a423203

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mode/groovy/groovy.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@ CodeMirror.defineMode("groovy", function(config) {
221221

222222
electricChars: "{}",
223223
closeBrackets: {triples: "'\""},
224-
fold: "brace"
224+
fold: "brace",
225+
blockCommentStart: "/*",
226+
blockCommentEnd: "*/",
227+
lineComment: "//"
225228
};
226229
});
227230

0 commit comments

Comments
 (0)