Skip to content

Commit 16ec28a

Browse files
committed
scoping: '.comments.' -> '.comment.'
1 parent 8a67444 commit 16ec28a

File tree

8 files changed

+30
-30
lines changed

8 files changed

+30
-30
lines changed

grammars/MagicPython.cson

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,10 +1806,10 @@ repository:
18061806
end: "(\\)|(?=\\'))"
18071807
beginCaptures:
18081808
"0":
1809-
name: "punctuation.comments.begin.regexp"
1809+
name: "punctuation.comment.begin.regexp"
18101810
endCaptures:
18111811
"1":
1812-
name: "punctuation.comments.end.regexp"
1812+
name: "punctuation.comment.end.regexp"
18131813
"single-one-regexp-lookahead":
18141814
begin: "(\\()\\?="
18151815
end: "(\\)|(?=\\'))"
@@ -2027,10 +2027,10 @@ repository:
20272027
end: "(\\)|(?=\\'\\'\\'))"
20282028
beginCaptures:
20292029
"0":
2030-
name: "punctuation.comments.begin.regexp"
2030+
name: "punctuation.comment.begin.regexp"
20312031
endCaptures:
20322032
"1":
2033-
name: "punctuation.comments.end.regexp"
2033+
name: "punctuation.comment.end.regexp"
20342034
"single-three-regexp-lookahead":
20352035
begin: "(\\()\\?="
20362036
end: "(\\)|(?=\\'\\'\\'))"
@@ -2263,10 +2263,10 @@ repository:
22632263
end: "(\\)|(?=\"))"
22642264
beginCaptures:
22652265
"0":
2266-
name: "punctuation.comments.begin.regexp"
2266+
name: "punctuation.comment.begin.regexp"
22672267
endCaptures:
22682268
"1":
2269-
name: "punctuation.comments.end.regexp"
2269+
name: "punctuation.comment.end.regexp"
22702270
"double-one-regexp-lookahead":
22712271
begin: "(\\()\\?="
22722272
end: "(\\)|(?=\"))"
@@ -2484,10 +2484,10 @@ repository:
24842484
end: "(\\)|(?=\"\"\"))"
24852485
beginCaptures:
24862486
"0":
2487-
name: "punctuation.comments.begin.regexp"
2487+
name: "punctuation.comment.begin.regexp"
24882488
endCaptures:
24892489
"1":
2490-
name: "punctuation.comments.end.regexp"
2490+
name: "punctuation.comment.end.regexp"
24912491
"double-three-regexp-lookahead":
24922492
begin: "(\\()\\?="
24932493
end: "(\\)|(?=\"\"\"))"

grammars/MagicPython.tmLanguage

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2891,15 +2891,15 @@ indirectly through syntactic constructs
28912891
<key>0</key>
28922892
<dict>
28932893
<key>name</key>
2894-
<string>punctuation.comments.begin.regexp</string>
2894+
<string>punctuation.comment.begin.regexp</string>
28952895
</dict>
28962896
</dict>
28972897
<key>endCaptures</key>
28982898
<dict>
28992899
<key>1</key>
29002900
<dict>
29012901
<key>name</key>
2902-
<string>punctuation.comments.end.regexp</string>
2902+
<string>punctuation.comment.end.regexp</string>
29032903
</dict>
29042904
</dict>
29052905
</dict>
@@ -3315,15 +3315,15 @@ indirectly through syntactic constructs
33153315
<key>0</key>
33163316
<dict>
33173317
<key>name</key>
3318-
<string>punctuation.comments.begin.regexp</string>
3318+
<string>punctuation.comment.begin.regexp</string>
33193319
</dict>
33203320
</dict>
33213321
<key>endCaptures</key>
33223322
<dict>
33233323
<key>1</key>
33243324
<dict>
33253325
<key>name</key>
3326-
<string>punctuation.comments.end.regexp</string>
3326+
<string>punctuation.comment.end.regexp</string>
33273327
</dict>
33283328
</dict>
33293329
</dict>
@@ -3759,15 +3759,15 @@ indirectly through syntactic constructs
37593759
<key>0</key>
37603760
<dict>
37613761
<key>name</key>
3762-
<string>punctuation.comments.begin.regexp</string>
3762+
<string>punctuation.comment.begin.regexp</string>
37633763
</dict>
37643764
</dict>
37653765
<key>endCaptures</key>
37663766
<dict>
37673767
<key>1</key>
37683768
<dict>
37693769
<key>name</key>
3770-
<string>punctuation.comments.end.regexp</string>
3770+
<string>punctuation.comment.end.regexp</string>
37713771
</dict>
37723772
</dict>
37733773
</dict>
@@ -4183,15 +4183,15 @@ indirectly through syntactic constructs
41834183
<key>0</key>
41844184
<dict>
41854185
<key>name</key>
4186-
<string>punctuation.comments.begin.regexp</string>
4186+
<string>punctuation.comment.begin.regexp</string>
41874187
</dict>
41884188
</dict>
41894189
<key>endCaptures</key>
41904190
<dict>
41914191
<key>1</key>
41924192
<dict>
41934193
<key>name</key>
4194-
<string>punctuation.comments.end.regexp</string>
4194+
<string>punctuation.comment.end.regexp</string>
41954195
</dict>
41964196
</dict>
41974197
</dict>

grammars/MagicRegExp.cson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ repository:
241241
end: "(\\))"
242242
beginCaptures:
243243
"0":
244-
name: "punctuation.comments.begin.regexp"
244+
name: "punctuation.comment.begin.regexp"
245245
endCaptures:
246246
"1":
247-
name: "punctuation.comments.end.regexp"
247+
name: "punctuation.comment.end.regexp"
248248
"regexp-lookahead":
249249
begin: "(\\()\\?="
250250
end: "(\\))"

grammars/MagicRegExp.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,15 +389,15 @@
389389
<key>0</key>
390390
<dict>
391391
<key>name</key>
392-
<string>punctuation.comments.begin.regexp</string>
392+
<string>punctuation.comment.begin.regexp</string>
393393
</dict>
394394
</dict>
395395
<key>endCaptures</key>
396396
<dict>
397397
<key>1</key>
398398
<dict>
399399
<key>name</key>
400-
<string>punctuation.comments.end.regexp</string>
400+
<string>punctuation.comment.end.regexp</string>
401401
</dict>
402402
</dict>
403403
</dict>

grammars/regexp.inc.syntax.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ repository:
6060
begin: \(\?#
6161
end: (\)${marker})
6262
beginCaptures:
63-
'0': {name: punctuation.comments.begin.regexp}
63+
'0': {name: punctuation.comment.begin.regexp}
6464
endCaptures:
65-
'1': {name: punctuation.comments.end.regexp}
65+
'1': {name: punctuation.comment.end.regexp}
6666

6767
${prefix}regexp-lookahead:
6868
begin: '(\()\?='

misc/scopes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ meta.lambda-function.python
6161
meta.named.regexp
6262
punctuation.character.set.begin.regexp
6363
punctuation.character.set.end.regexp
64-
punctuation.comments.begin.regexp
65-
punctuation.comments.end.regexp
64+
punctuation.comment.begin.regexp
65+
punctuation.comment.end.regexp
6666
punctuation.definition.arguments.begin.python
6767
punctuation.definition.arguments.end.python
6868
punctuation.definition.comment.python

test/regexp/comments1.re

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ foo(?#comment)bar
33

44

55
foo : source.regexp.python
6-
(?# : comment.regexp, punctuation.comments.begin.regexp, source.regexp.python
6+
(?# : comment.regexp, punctuation.comment.begin.regexp, source.regexp.python
77
comment : comment.regexp, source.regexp.python
8-
) : comment.regexp, punctuation.comments.end.regexp, source.regexp.python
8+
) : comment.regexp, punctuation.comment.end.regexp, source.regexp.python
99
bar : source.regexp.python

test/regexp/comments2.re

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ comment 1
88

99
(?x) : source.regexp.python, storage.modifier.flag.regexp
1010
foo : source.regexp.python
11-
(?# : comment.regexp, punctuation.comments.begin.regexp, source.regexp.python
11+
(?# : comment.regexp, punctuation.comment.begin.regexp, source.regexp.python
1212
comment 1 : comment.regexp, source.regexp.python
1313
: comment.regexp, source.regexp.python
14-
) : comment.regexp, punctuation.comments.end.regexp, source.regexp.python
14+
) : comment.regexp, punctuation.comment.end.regexp, source.regexp.python
1515
bar : source.regexp.python
1616
baz : source.regexp.python
17-
(?# : comment.regexp, punctuation.comments.begin.regexp, source.regexp.python
17+
(?# : comment.regexp, punctuation.comment.begin.regexp, source.regexp.python
1818
comment 2 : comment.regexp, source.regexp.python
19-
) : comment.regexp, punctuation.comments.end.regexp, source.regexp.python
19+
) : comment.regexp, punctuation.comment.end.regexp, source.regexp.python

0 commit comments

Comments
 (0)