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
{{ message }}
Repository navigation
Multiline symbol parses correctly but is incorrectly hilighted #52
classFoo (a :: Symbol)
instancefooMultiline1 ::
Foo"""a"""test::Foo"""a"""=>Unit
test = unit
is legal purescript & compiles fine but the syntax hilighting is off in my vscode editor. When test is defined, it doesn't pick up the multiline string correctly. Incidentally, it seems like GitHub markdown has the same issue!
Parsing has nothing to do with syntax highlighting, the syntax highlighting in the editor is a horrible regex-based mess. It's also very much line-based. Possibly it is possible to make this work, I guess triple-quote strings work at the term level.
GitHub markdown is using the same grammar so not surprising :)
Activity
nwolverson commentedon Sep 2, 2020
Parsing has nothing to do with syntax highlighting, the syntax highlighting in the editor is a horrible regex-based mess. It's also very much line-based. Possibly it is possible to make this work, I guess triple-quote strings work at the term level.
GitHub markdown is using the same grammar so not surprising :)
wclr commentedon Sep 5, 2021
This should be fixed with #56