Skip to content

Commit 3dd952e

Browse files
committed
fix #123 pop out of meta.alias when used in list
1 parent 3020993 commit 3dd952e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Syntaxes/LESS.sublime-syntax

+1-1
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ contexts:
998998
push:
999999
- meta_content_scope: meta.brackets.less
10001000
- include: less-map-lookups
1001-
- match: '(?=;|$)'
1001+
- match: '(?=;|,|$)'
10021002
pop: true
10031003
- match: '(\.){{ident}}'
10041004
captures:

Tests/syntax_test_less.less

+2
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ Attribute selectors
588588
// ^ punctuation.section.brackets.end
589589
// ^^^^^^ variable.other.less
590590
display: inline-block;
591+
background-color: rgba(#ui-colors.dark[background-090],0.7);
592+
// ^ - meta.alias
591593
}
592594
}
593595

0 commit comments

Comments
 (0)