Skip to content

Commit

Permalink
fix #123 pop out of meta.alias when used in list
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed May 16, 2020
1 parent 3020993 commit 3dd952e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/LESS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ contexts:
push:
- meta_content_scope: meta.brackets.less
- include: less-map-lookups
- match: '(?=;|$)'
- match: '(?=;|,|$)'
pop: true
- match: '(\.){{ident}}'
captures:
Expand Down
2 changes: 2 additions & 0 deletions Tests/syntax_test_less.less
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ Attribute selectors
// ^ punctuation.section.brackets.end
// ^^^^^^ variable.other.less
display: inline-block;
background-color: rgba(#ui-colors.dark[background-090],0.7);
// ^ - meta.alias
}
}

Expand Down

0 comments on commit 3dd952e

Please sign in to comment.