Skip to content

Commit 0b24937

Browse files
committed
Replace .right selector scope
1 parent 5d72db6 commit 0b24937

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Package/Scope Selector.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ contexts:
4545
- match: \s+\(
4646
scope: invalid.illegal.operator-required-between-scope-and-group.scope-selector
4747
- match: \s+(?=\w)
48-
scope: keyword.operator.combinator.right.scope-selector
48+
scope: keyword.operator.combinator.descendent.scope-selector
4949
pop: true
5050
- match: ''
5151
pop: true

Package/syntax_test_scope_selector.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ string.quoted.double
5757

5858
source string
5959
#^^^^^^ string.unquoted.scope-segment.scope-selector
60-
# ^ keyword.operator.combinator.right.scope-selector
60+
# ^ keyword.operator.combinator.descendent.scope-selector
6161
# ^^^^^^ string.unquoted.scope-segment.scope-selector
6262

6363
source & (string - comment) &
@@ -86,7 +86,7 @@ string.quoted.double
8686
#^^^^^^ string.unquoted.scope-segment.scope-selector
8787
# ^ punctuation.separator.scope-segments.scope-selector
8888
# ^^^^^^ string.unquoted.scope-segment.scope-selector
89-
# ^ keyword.operator.combinator.right.scope-selector
89+
# ^ keyword.operator.combinator.descendent.scope-selector
9090
# ^^^^^^ string.unquoted.scope-segment.scope-selector
9191
# ^ punctuation.separator.scope-segments.scope-selector
9292
# ^^^^^^ string.unquoted.scope-segment.scope-selector
@@ -96,7 +96,7 @@ string.quoted.double
9696
# ^^^^^ string.unquoted.scope-segment.scope-selector
9797
# ^ punctuation.separator.scope-segments.scope-selector
9898
# ^^^^^^ string.unquoted.scope-segment.scope-selector
99-
# ^ keyword.operator.combinator.right.scope-selector
99+
# ^ keyword.operator.combinator.descendent.scope-selector
100100
# ^^^^^^^^^^^ string.unquoted.scope-segment.scope-selector
101101
# ^ punctuation.separator.scope-segments.scope-selector
102102
# ^^^^^^^^^^ string.unquoted.scope-segment.scope-selector
@@ -128,7 +128,7 @@ string.quoted.double
128128

129129
string punctuation & source
130130
#^^^^^^ string.unquoted.scope-segment.scope-selector
131-
# ^ keyword.operator.combinator.right.scope-selector
131+
# ^ keyword.operator.combinator.descendent.scope-selector
132132
# ^^^^^^^^^^^ string.unquoted.scope-segment.scope-selector
133133
# ^ - string - keyword
134134
# ^ keyword.operator.combinator.with.scope-selector
@@ -141,15 +141,15 @@ string.quoted.double
141141
(punctuation string) test.example - foo bar
142142
#^ punctuation.section.group.begin.scope-selector
143143
# ^^^^^^^^^^^ string.unquoted.scope-segment.scope-selector
144-
# ^ keyword.operator.combinator.right.scope-selector
144+
# ^ keyword.operator.combinator.descendent.scope-selector
145145
# ^^^^^^ string.unquoted.scope-segment.scope-selector
146146
# ^ punctuation.section.group.end.scope-selector
147147
# ^^^^^^^^^^^^^ invalid.illegal.operator-required-after-group.scope-selector
148148
# ^ - string - keyword - illegal
149149
# ^ keyword.operator.combinator.without.scope-selector
150150
# ^ - string - keyword - illegal
151151
# ^^^ string.unquoted.scope-segment.scope-selector
152-
# ^ keyword.operator.combinator.right.scope-selector
152+
# ^ keyword.operator.combinator.descendent.scope-selector
153153
# ^^^ string.unquoted.scope-segment.scope-selector
154154

155155
(source&string)
@@ -196,7 +196,7 @@ string.quoted.double
196196
(trailing space)
197197
#<- punctuation.section.group.begin.scope-selector
198198
#^^^^^^^^ string.unquoted.scope-segment.scope-selector
199-
# ^ keyword.operator.combinator.right.scope-selector
199+
# ^ keyword.operator.combinator.descendent.scope-selector
200200
# ^^^^^ string.unquoted.scope-segment.scope-selector
201201
# ^ punctuation.section.group.end.scope-selector
202202
# ^^ - string - keyword - illegal
@@ -221,7 +221,7 @@ text.html - (source & - source text.html)
221221
# ^ keyword.operator.combinator.without.scope-selector
222222
# ^ - string - keyword
223223
# ^^^^^^ string.unquoted.scope-segment.scope-selector
224-
# ^ keyword.operator.combinator.right.scope-selector
224+
# ^ keyword.operator.combinator.descendent.scope-selector
225225
# ^^^^ string.unquoted.scope-segment.scope-selector
226226
# ^ punctuation.separator.scope-segments.scope-selector
227227
# ^^^^ string.unquoted.scope-segment.scope-selector
@@ -237,7 +237,7 @@ source.php - source.php text.html
237237
# ^^^^^^ string.unquoted.scope-segment.scope-selector
238238
# ^ punctuation.separator.scope-segments.scope-selector
239239
# ^^^ string.unquoted.scope-segment.scope-selector
240-
# ^ keyword.operator.combinator.right.scope-selector
240+
# ^ keyword.operator.combinator.descendent.scope-selector
241241
# ^^^^ string.unquoted.scope-segment.scope-selector
242242
# ^ punctuation.separator.scope-segments.scope-selector
243243
# ^^^^ string.unquoted.scope-segment.scope-selector
@@ -246,7 +246,7 @@ embedding.php text.html - (source.php &amp; - source.php text.html)
246246
#^^^^^^^^ string.unquoted.scope-segment.scope-selector
247247
# ^ punctuation.separator.scope-segments.scope-selector
248248
# ^^^ string.unquoted.scope-segment.scope-selector
249-
# ^ keyword.operator.combinator.right.scope-selector
249+
# ^ keyword.operator.combinator.descendent.scope-selector
250250
# ^^^^ string.unquoted.scope-segment.scope-selector
251251
# ^ punctuation.separator.scope-segments.scope-selector
252252
# ^^^^ string.unquoted.scope-segment.scope-selector
@@ -265,7 +265,7 @@ embedding.php text.html - (source.php &amp; - source.php text.html)
265265
# ^^^^^^ string.unquoted.scope-segment.scope-selector
266266
# ^ punctuation.separator.scope-segments.scope-selector
267267
# ^^^ string.unquoted.scope-segment.scope-selector
268-
# ^ keyword.operator.combinator.right.scope-selector
268+
# ^ keyword.operator.combinator.descendent.scope-selector
269269
# ^^^^ string.unquoted.scope-segment.scope-selector
270270
# ^ punctuation.separator.scope-segments.scope-selector
271271
# ^^^^ string.unquoted.scope-segment.scope-selector

0 commit comments

Comments
 (0)