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

incorrect syntax highlighting on </script> tag when previous line ends with > #1779

Closed
DetachHead opened this issue Dec 16, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@DetachHead
Copy link
Contributor

Describe the bug

if the last line of a <script> block ends with a >, the </script> has the wrong colour in vscode

Reproduction

<script lang="ts">
   type Foo = Array<string>
</script>

Expected behaviour

both <script> and </script> are blue

System Info

  • OS: windows 10
  • IDE: vscode

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

image

@DetachHead DetachHead added the bug Something isn't working label Dec 16, 2022
@jasonlyu123
Copy link
Member

Duplicate of #1110. This is an upstream issue in the syntax highlight of typescript.

@jasonlyu123 jasonlyu123 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants