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
Thanks for the bug report. Unfortunately, to my knowledge this can't be fixed because of the way syntax highlighting works in VS Code (using TextMate grammars), because there's no way to backtrack after looking ahead to a new line. See also issues #27 and #60.
I agree that it's annoying; I personally often end up writing type signatures as in your first screenshot.
Using the brittany formatter puts the
::
type on the 2nd line for really long type definitions.Unfortunately the syntax breaks in that case, it doesn't assign any special textmate scope to the type declaration anymore.
If I pull the
::
onto the first line, then it works again.The text was updated successfully, but these errors were encountered: