Skip to content

Multiple lines attributes break syntax highlighting for scss #1477

@CaptainYouz

Description

@CaptainYouz
  • [yes] I have searched through existing issues
  • [yes] I have read through docs
  • [no] I have read FAQ

Info

  • Platform: macOs
  • Vetur version: 0.22.5
  • VS Code version: 1.39.2

Problem

In the <style> part of the vue file, when putting style attributes in multiple lines, it messes up the syntax highlighting of the scss.

If

<style lang="scss" scoped>

become

<style
  lang="scss"
  scoped
>

then the scss syntax highlighting become weird.

before:
Screenshot 2019-10-23 at 17 49 55
after:
Screenshot 2019-10-23 at 17 49 38

Reproducible Case

Put <style> attributes on multiple lines.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions