-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Taking an example from the documentation, this snippet:
let drawCircle: (~color: color, ~radius: int=?, unit) => unit =
(~color: color, ~radius: option<int>=?, ()) => {
setColor(color)
switch radius {
| None => startAt(1, 1)
| Some(r_) => startAt(r_, r_)
}
}highlights >= as an operator, rather than as a closing bracket for the generic and an equal sign. This happens in VS Code as well:

This is particularly problematic for those who use ligature fonts, as ligatures depend on proper coloring to break up things that look like ligatures but really aren't.
Is the tokenizer/grammar that colors this defined here, or in another repository?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request