Skip to content

Commit

Permalink
fix element selectors after &
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Dec 3, 2018
1 parent e7211b3 commit cf3967d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/SCSS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ contexts:
captures:
1: keyword.operator.ampersand.sass
push:
- match: '{{ident}}*'
scope: entity.other.attribute-name.css
- meta_scope: meta.selector.css
- include: selector-parts
- match: '{{ident}}*'
scope: entity.other.attribute-name.css
# standard elements + pseudo elements
- match: '\s*({{element_names}})({{pseudo_elements}})'
captures:
Expand Down
4 changes: 2 additions & 2 deletions Syntaxes/Sass.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ contexts:
captures:
1: keyword.operator.ampersand.sass
push:
- match: '{{ident}}*'
scope: entity.other.attribute-name.css
- meta_scope: meta.selector.css
- include: selector-parts
- match: '{{ident}}*'
scope: entity.other.attribute-name.css
# standard elements + pseudo elements
- match: '\s*({{element_names}})({{pseudo_elements}})'
captures:
Expand Down

0 comments on commit cf3967d

Please sign in to comment.