borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
557 stars 20 forks source link

Nested Pseudo-classes breaks css highlighting #234

Open brantem opened 4 years ago

brantem commented 4 years ago

Nested Pseudo-classes breaks emotion highlighting

const test = styled.div`
  span:last-of-type {
    color: pink;
  }
`;

const test = styled.div`
  .text {
    span:last-of-type {
      color: pink;
    }
  }
`;

Screen Shot 2019-08-21 at 14 44 28