vscode-reasonml
vscode-reasonml copied to clipboard
adding [@@bs.val] to an external breaks the ocaml syntax highlighting
I just copied this code, but moved the lines around from the Bucklescript docs: https://bucklescript.github.io/docs/en/function (Object method)
type document (* abstract type for a document object *)
external doc: document = "document" [@@bs.val]
external getElementById: document -> string -> Dom.element = "getElementById" [@@bs.send]
The lines after [@@bs.val] (2nd line) aren't being highlighted correctly.

1 year and still no feedback, can this be reconsidered? It's less than optimal having to use reasonml syntax just for externals
I bumped into that issue yesterday as well.