You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not very easy to solve. Well, technically, it is, but the trouble is that there is an ambiguity at the OCaml syntax level. Indeed, the above are not, properly speaking, OCaml syntax, but directives for the toplevel.
What I mean by this is that ocaml #use "topfind" is valid OCaml code outside of the toplevel (call method use with argument "topfind" from object ocaml). So how to indent really depends on your setting.
The workaround to this so far has been to add ;; separators, since you are using the toplevel. It would be nice to handle the leading shebang, though.
Hi,
It seems that
ocp-indent
gets confused by#
-directives.The following:
indents to:
Similarly with a shebang line:
becomes:
Thanks!
The text was updated successfully, but these errors were encountered: