sublime-reason
sublime-reason copied to clipboard
you don't highlight tick-char specially
Example from Reason repo
let result =
switch (part) {
| `Text(value) =>
if (String.length(workingLine)
+ String.length(lastDelim)
+ String.length(value) <= cols) {
(message, workingLine ++ lastDelim ++ value, "");
} else {
(message ++ "\n" ++ workingLine, value, "");
}
| `Delim(g) => (message, workingLine, Re.Group.get(g, 0))
};
`Text
`Delim