Skip to content

Commit 7d07d6f

Browse files
committed
Fix a typo in type-hints scope name (issue #37)
1 parent 8717dd5 commit 7d07d6f

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

grammars/MagicPython.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ repository:
104104
'''
105105
}
106106
{
107-
name: "comment.typehint.puctuation.notation.python"
107+
name: "comment.typehint.punctuation.notation.python"
108108
match: "([\\[\\]\\(\\),\\.\\=\\*]|(->))"
109109
}
110110
{

grammars/MagicPython.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
</dict>
149149
<dict>
150150
<key>name</key>
151-
<string>comment.typehint.puctuation.notation.python</string>
151+
<string>comment.typehint.punctuation.notation.python</string>
152152
<key>match</key>
153153
<string>([\[\]\(\),\.\=\*]|(-&gt;))</string>
154154
</dict>

grammars/src/MagicPython.syntax.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ repository:
123123
| Any | None
124124
)\b
125125
126-
- name: comment.typehint.puctuation.notation.python
126+
- name: comment.typehint.punctuation.notation.python
127127
match: ([\[\]\(\),\.\=\*]|(->))
128128

129129
- name: comment.typehint.variable.notation.python

misc/scopes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ comment.line.number-sign.python
22
comment.regexp
33
comment.typehint.directive.notation.python
44
comment.typehint.ignore.notation.python
5-
comment.typehint.puctuation.notation.python
5+
comment.typehint.punctuation.notation.python
66
comment.typehint.type.notation.python
77
comment.typehint.variable.notation.python
88
constant.character.escape.python

test/comments/typing4.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
1414
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
1515
List : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
16-
[ : comment.line.number-sign.python, comment.typehint.puctuation.notation.python, meta.typehint.comment.python, source.python
16+
[ : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
1717
str : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
18-
, : comment.line.number-sign.python, comment.typehint.puctuation.notation.python, meta.typehint.comment.python, source.python
18+
, : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
1919
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
2020
a : comment.line.number-sign.python, comment.typehint.variable.notation.python, meta.typehint.comment.python, source.python
21-
] : comment.line.number-sign.python, comment.typehint.puctuation.notation.python, meta.typehint.comment.python, source.python
21+
] : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
2222
y : source.python
2323
: source.python
2424
= : keyword.operator.assignment.python, source.python
@@ -29,12 +29,12 @@
2929
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
3030
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
3131
Dict : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
32-
[ : comment.line.number-sign.python, comment.typehint.puctuation.notation.python, meta.typehint.comment.python, source.python
32+
[ : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
3333
int : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
34-
, : comment.line.number-sign.python, comment.typehint.puctuation.notation.python, meta.typehint.comment.python, source.python
34+
, : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
3535
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
3636
Any : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
37-
] : comment.line.number-sign.python, comment.typehint.puctuation.notation.python, meta.typehint.comment.python, source.python
37+
] : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
3838
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
3939
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
4040
int : comment.line.number-sign.python, source.python

0 commit comments

Comments
 (0)