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 highlighting not completely suspended in template comments #1206

Closed
h-h-h-h opened this issue Apr 16, 2022 · 0 comments
Closed

Syntax highlighting not completely suspended in template comments #1206

h-h-h-h opened this issue Apr 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@h-h-h-h
Copy link

h-h-h-h commented Apr 16, 2022

I can only reproduce in within <svg> tags:

<template>
  <svg>
    <!-- <Foo
      bar="bar"
      v-if="shown"
      baz="baz"
      v-for="index in count"
      qux="qux"
      :quux="quux"
      @click="doIt"
      v-custom="bla"
      quuz="quuz" /> -->
  </svg>
  <sv>
    <!-- <Foo
      bar="bar"
      v-if="shown"
      baz="baz"
      v-for="index in count"
      qux="qux"
      :quux="quux"
      @click="doIt"
      v-custom="bla"
      quuz="quuz" /> -->
  </sv>
  <div>
    <!-- <Foo
      bar="bar"
      v-if="shown"
      baz="baz"
      v-for="index in count"
      qux="qux"
      :quux="quux"
      @click="doIt"
      v-custom="bla"
      quuz="quuz" /> -->
  </div>
</template>

For me, it looks like this:

vscode

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Apr 21, 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