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 }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Seems to be caused be two lines earlier, inside the macro call, where it falsely detects a function statement fn but no function begin { and therefore takes the rest of the file as a big function definition. And that's where it gets hard. The syntax of a macro call is defined by the macro definition - grammar rules can't tokenize that dynamically. One option would be to remove any tokenization inside macro calls, but that might look even worse.
I don't know any good solution to this problem atm. Anybody else?
zargony
changed the title
String breaks syntax highlighting for remainder of document
Macro call syntax may interfer with grammar and can break syntax highlighting for remainder of document
Aug 7, 2017
Wulfsta
changed the title
Macro call syntax may interfer with grammar and can break syntax highlighting for remainder of document
Macro call syntax may interfere with grammar and can break syntax highlighting for remainder of document
Aug 7, 2017
This can be see here. It looks like
"{}\n{}\n{}"
is causing the issue.The text was updated successfully, but these errors were encountered: