Skip to content

::v-deep selector syntax highlighting support #1419

@hyvyys

Description

@hyvyys
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: Win
  • Vetur version: 0.22.2
  • VS Code version: 1.38.0

Problem

I believe the ::v-deep selector is not supported by the syntax highlighter in Vetur.

image
image

Reproducible Case

.checkbox-small.ui-checkbox {
  margin: 0;
  font-size: 1em;
  align-self: center;

  ::v-deep .ui-checkbox__checkmark {
    height: 1rem;
    width: 1rem;
    margin-top: 0.2rem;
  }
  ::v-deep .ui-checkbox__label-text {
    font-size: 1em;
    margin-left: 0.15em;
  }
}

.nav-wrapper {
  width: 0;

  ::v-deep .positioned {
    background: $light;
    right: $vuebar-width;
    width: 175px;
    @include pseudo;
    &::after {
      left: 100%;
      background: $light;
      width: $vuebar-width;
    }
  }
}

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