Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlight broken when skipping curly braces #527

Closed
gene-pavlovsky opened this issue May 25, 2022 · 2 comments
Closed

Syntax highlight broken when skipping curly braces #527

gene-pavlovsky opened this issue May 25, 2022 · 2 comments

Comments

@gene-pavlovsky
Copy link

This code breaks syntax higlighting:
performerId.bind(function (v) trace('performerId=${v}'));

The following code doesn't:
performerId.bind(function (v) { trace('performerId=${v}'); });

Result:
Screenshot 2022-05-25 at 11 53 26

@kLabz
Copy link
Contributor

kLabz commented May 25, 2022

Btw it also breaks on github; I don't remember exactly what lib is handling that but might be worth fixing there too.

performerId.bind(function (v) { trace('performerId=${v}'); });

performerId.bind(function (v) trace('performerId=${v}'));
performerId.bind(function (v) trace('performerId=${v}'));

Edit: actually github uses the exact same syntax highlighter - https://github.com/vshaxe/haxe-TmLanguage
Maybe this issue should move there?

@Gama11
Copy link
Member

Gama11 commented May 25, 2022

@Gama11 Gama11 closed this as completed May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants