Skip to content

Commit aae95d6

Browse files
author
MattDMo
committed
Compiled changes
1 parent b9e3006 commit aae95d6

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

PythonImproved.tmLanguage

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
<string>PythonImproved</string>
3333
<key>patterns</key>
3434
<array>
35+
<dict>
36+
<key>match</key>
37+
<string>(\.{3})</string>
38+
<key>name</key>
39+
<string>support.type.ellipsis.python</string>
40+
</dict>
3541
<dict>
3642
<key>captures</key>
3743
<dict>
@@ -809,15 +815,15 @@
809815
</dict>
810816
<dict>
811817
<key>include</key>
812-
<string>#builtin_functions_name</string>
818+
<string>#builtin_types</string>
813819
</dict>
814820
<dict>
815821
<key>include</key>
816-
<string>#builtin_functions_call</string>
822+
<string>#builtin_functions_name</string>
817823
</dict>
818824
<dict>
819825
<key>include</key>
820-
<string>#builtin_types</string>
826+
<string>#builtin_functions_call</string>
821827
</dict>
822828
<dict>
823829
<key>include</key>
@@ -1454,7 +1460,7 @@
14541460
<key>1</key>
14551461
<dict>
14561462
<key>name</key>
1457-
<string>support.function.builtin.python</string>
1463+
<string>support.function.builtin.call.python</string>
14581464
</dict>
14591465
<key>2</key>
14601466
<dict>
@@ -1541,13 +1547,13 @@
15411547
globals | hasattr | hash | help | hex | id | input | int |
15421548
isinstance | issubclass | iter | len | list | locals | long | map |
15431549
max | memoryview | min | next | object | oct | open | ord | pow |
1544-
print | property | range | raw_input | reduce | reload | repr |
1550+
property | range | raw_input | reduce | reload | repr |
15451551
reversed | round | set | setattr | slice | sorted | staticmethod |
15461552
str | sum | super | tuple | type | unichr | unicode | vars |
15471553
xrange | zip)
1548-
\b</string>
1554+
\b\s*(?!(\())</string>
15491555
<key>name</key>
1550-
<string>support.function.builtin.python</string>
1556+
<string>support.function.builtin.name.python</string>
15511557
</dict>
15521558
<key>builtin_types</key>
15531559
<dict>
@@ -1557,10 +1563,10 @@
15571563
<string>(?x)
15581564
(?&lt;!\.)
15591565
\b(
1560-
\.{3} | bool | buffer | bytearray | bytes | complex | dict | float |
1566+
bool | buffer | bytearray | bytes | complex | dict | float |
15611567
frozenset | int | list | long | memoryview | object | property |
15621568
range | set | slice | str | tuple | type | unicode | xrange)
1563-
\b</string>
1569+
\b\s*(?!(\())</string>
15641570
<key>name</key>
15651571
<string>support.type.python</string>
15661572
</dict>
@@ -1777,15 +1783,15 @@
17771783
<array>
17781784
<dict>
17791785
<key>include</key>
1780-
<string>#builtin_functions_name</string>
1786+
<string>#builtin_types</string>
17811787
</dict>
17821788
<dict>
17831789
<key>include</key>
1784-
<string>#builtin_functions_call</string>
1790+
<string>#builtin_functions_name</string>
17851791
</dict>
17861792
<dict>
17871793
<key>include</key>
1788-
<string>#builtin_types</string>
1794+
<string>#builtin_functions_call</string>
17891795
</dict>
17901796
<dict>
17911797
<key>include</key>
@@ -2111,7 +2117,7 @@
21112117
<key>2</key>
21122118
<dict>
21132119
<key>name</key>
2114-
<string>support.function.magic.python</string>
2120+
<string>support.function.magic.call.python</string>
21152121
</dict>
21162122
<key>4</key>
21172123
<dict>
@@ -2192,7 +2198,7 @@
21922198
<key>2</key>
21932199
<dict>
21942200
<key>name</key>
2195-
<string>support.function.magic.python</string>
2201+
<string>support.function.magic.name.python</string>
21962202
</dict>
21972203
</dict>
21982204
<key>comment</key>
@@ -2219,7 +2225,7 @@
22192225
setstate | sizeof | str | sub | subclasscheck | truediv | trunc |
22202226
unicode | xor)
22212227
__)
2222-
\b</string>
2228+
\b\s*(?!(\())</string>
22232229
</dict>
22242230
<key>magic_variable_names</key>
22252231
<dict>

0 commit comments

Comments
 (0)