Skip to content

Bad syntax highlighting on block case statements #505

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
larsbs opened this issue Jun 22, 2016 · 3 comments
Closed

Bad syntax highlighting on block case statements #505

larsbs opened this issue Jun 22, 2016 · 3 comments

Comments

@larsbs
Copy link

larsbs commented Jun 22, 2016

In one of the recent updates, the support for block case statements has been broken. Don't know exactly when because I don't update frequently but here is a screenshot of the actual problem:

Using block declaration (Using { })
20160622-110319

Without block declaration (No { })
20160622-110421

As you can see, the last } is marked an invalid and the color of the return statement is wrong also. This is valid JavaScript syntax and used to work well with this plugin. Sorry not being able to help more for now.

@larsbs
Copy link
Author

larsbs commented Jun 22, 2016

Ok, I had some time to checkout some commits. The issues started with these two commits:

  1. a0d1abc
  2. c48323a

So the latest working commit was: 6c2de10

@amadeus
Copy link
Collaborator

amadeus commented Jun 22, 2016

I'll have a fix for this shortly, thanks for submitting the issue!

amadeus added a commit that referenced this issue Jun 22, 2016
amadeus added a commit that referenced this issue Jun 22, 2016
@amadeus
Copy link
Collaborator

amadeus commented Jun 22, 2016

Should be fixed in develop

@amadeus amadeus closed this as completed Jun 22, 2016
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

2 participants