Closed
Description
E.g.
let canUseCanvas: unit => bool = %raw(`
function canUseCanvas() {
return !!document.createElement('canvas').getContext;
}
`)
could syntax highlight the JS code.
This issue could be a combination of finding an alternative surface syntax, e.g.
js`() => 3`
and adapt the editor extensions's grammar to recognise this syntax and inject a JS syntax highlighting grammar.
Metadata
Metadata
Assignees
Labels
No labels