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

Coffeescript syntax highlighting breaks when embedding JS code #12

Open
aeschli opened this issue Jan 31, 2017 · 1 comment
Open

Coffeescript syntax highlighting breaks when embedding JS code #12

aeschli opened this issue Jan 31, 2017 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Jan 31, 2017

From @pzuraq on November 4, 2016 17:30

  • VSCode Version: 1.7.0
  • OS Version: 10.11.6

Steps to Reproduce:

  1. Create a coffeescript file
  2. Paste the following into the file:
`import foo from './foo'`

bar = (baz) -> console.log(baz)

bar... will be highlighted as if it were embedded javascript. If a semicolon is added to the end of the embedded statement, then the syntax highlighting works correctly:

`import foo from './foo';`

Copied from original issue: microsoft/vscode#15008

@aeschli
Copy link
Author

aeschli commented Jan 31, 2017

I can reproduce this in TextMate.

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

1 participant