vendor/assets/javascripts/codemirror/modes/ocaml.js in codemirror-rails-3.12 vs vendor/assets/javascripts/codemirror/modes/ocaml.js in codemirror-rails-3.13
- old
+ new
@@ -104,10 +104,13 @@
return {
startState: function() {return {tokenize: tokenBase, commentLevel: 0};},
token: function(stream, state) {
if (stream.eatSpace()) return null;
return state.tokenize(stream, state);
- }
+ },
+
+ blockCommentStart: "(*",
+ blockCommentEnd: "*)"
};
});
CodeMirror.defineMIME('text/x-ocaml', 'ocaml');