Skip to content

Syntax highlighting for nested /* */ broken #21

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

Closed
ryyppy opened this issue Jan 8, 2021 · 1 comment · Fixed by #22
Closed

Syntax highlighting for nested /* */ broken #21

ryyppy opened this issue Jan 8, 2021 · 1 comment · Fixed by #22

Comments

@ryyppy
Copy link
Member

ryyppy commented Jan 8, 2021

Currently this doesn't highlight correctly:

/*

/* This function does something*/
let someCode () => {
  ()
}
*/

The inner comment breaks the highlighting

@amiralies
Copy link
Collaborator

The quick fix would be just allow multiline comments to contain mutliline comments. but iirc it has a side effect. I'll take a look

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

Successfully merging a pull request may close this issue.

2 participants