Skip to content

Commit

Permalink
property names with trailing spaces
Browse files Browse the repository at this point in the history
Related fix in Sass:
SublimeText/Sass#80 (comment)
  • Loading branch information
braver committed Jun 2, 2021
1 parent a2eae04 commit d7e8a82
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 @@ -445,7 +445,7 @@ contexts:
- meta_scope: meta.selector.css
- include: selector-parts
# custom elements
- match: '\s*({{custom_elements}})(?![-:])'
- match: '\s*({{custom_elements}})(?!-|\s*:)'
captures:
1: entity.name.tag.custom.css
push:
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 @@ -200,6 +200,8 @@ html::before {
// ^ support.type.property-name.css
// ^ meta.property-value.css support.type.vendor-prefix.css
// ^ meta.property-value.css support.constant.property-value.css
align-self : baseline;
// ^ support.type.property-name.css
-webkit-user-select: none;
// ^ support.type.vendor-prefix.css
// ^ support.type.property-name.css
Expand Down

0 comments on commit d7e8a82

Please sign in to comment.