Skip to content

Commit df3b3d3

Browse files
committed
[haxe mode] Add comment styles
1 parent 68c6f31 commit df3b3d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mode/haxe/haxe.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,10 @@ CodeMirror.defineMode("haxe", function(config, parserConfig) {
422422
else return lexical.indented + (closing ? 0 : indentUnit);
423423
},
424424

425-
electricChars: "{}"
425+
electricChars: "{}",
426+
blockCommentStart: "/*",
427+
blockCommentEnd: "*/",
428+
lineComment: "//"
426429
};
427430
});
428431

0 commit comments

Comments
 (0)