Skip to content

Commit 1768739

Browse files
author
MattDMo
committed
Move del from support.function.builtin to keyword.other. Addresses #28
1 parent 8d23d3c commit 1768739

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

PythonImproved.tmLanguage

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@
209209
</dict>
210210
<dict>
211211
<key>comment</key>
212-
<string>keywords that haven't fit into other groups (yet).</string>
212+
<string>keywords that don't fit into other groups.</string>
213213
<key>match</key>
214-
<string>\b(assert)\b</string>
214+
<string>\b(assert|del)\b</string>
215215
<key>name</key>
216216
<string>keyword.other.python</string>
217217
</dict>
@@ -1382,7 +1382,7 @@
13821382
<array>
13831383
<dict>
13841384
<key>begin</key>
1385-
<string>(?&lt;!\.)(__import__|ascii|abs|all|any|apply|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|copyright|credits|del|delattr|dict|dir|divmod|enumerate|eval|exec|execfile|exit|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|license|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|print|property|quit|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unicode|unichr|vars|xrange|zip)\s*(?=\()</string>
1385+
<string>(?&lt;!\.)(__import__|ascii|abs|all|any|apply|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|copyright|credits|delattr|dict|dir|divmod|enumerate|eval|exec|execfile|exit|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|license|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|print|property|quit|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unicode|unichr|vars|xrange|zip)\s*(?=\()</string>
13861386
<key>beginCaptures</key>
13871387
<dict>
13881388
<key>1</key>
@@ -1447,14 +1447,6 @@
14471447
</dict>
14481448
</array>
14491449
</dict>
1450-
<dict>
1451-
<key>comment</key>
1452-
<string>These are statements in Py2, but don't really fit into keyword.control.flow with the rest</string>
1453-
<key>match</key>
1454-
<string>(?&lt;!\.)\b(print|del)\b</string>
1455-
<key>name</key>
1456-
<string>support.function.builtin.python</string>
1457-
</dict>
14581450
</array>
14591451
</dict>
14601452
<key>builtin_types</key>

0 commit comments

Comments
 (0)