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

Pug multiline attribute values are marked as error #2413

Closed
gyohng opened this issue Feb 18, 2023 · 0 comments
Closed

Pug multiline attribute values are marked as error #2413

gyohng opened this issue Feb 18, 2023 · 0 comments
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first

Comments

@gyohng
Copy link

gyohng commented Feb 18, 2023

This is a perfectly legal syntax that compiles and works well inside a vue file. However, volar seems to mark it as an error:

<template lang="pug">
div
  component(attr0="aaaaa" jsdata=`{
    "page": "measure",
    "action": "start"
  }`)
</template>
<script>
</script>

Screenshot VSCode

@johnsoncodehk johnsoncodehk added bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first labels Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first
Projects
None yet
Development

No branches or pull requests

2 participants