Sketch-sh/sketch-sh

Error in syntax highlighting for Ocaml

jeroenpelgrims opened this issue · 2 comments

Example: https://sketch.sh/s/h7mXF4K6jtQXY1cflQJHhT/

As you can see in the example, when using the double quote character in a character literal the syntax highlighting starts to freak out.
It seems to think I've opened a string but not closed it.

This would require changes to

"'": function(stream, state) {

Related: #195

@matthiaskern This is related to OCaml syntax highlighting
so I belive this could be brought up to codemirror's maintainer attention or we can fork the ocaml syntax highlighter into Sketch's repo