Skip to content

Commit db705d6

Browse files
author
MattDMo
committed
fixed support.type.python to only match word, not following spaces
1 parent 21d9a79 commit db705d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PythonImproved.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ repository:
576576
bool | buffer | bytearray | bytes | complex | dict | float |
577577
frozenset | int | list | long | memoryview | object | property |
578578
range | set | slice | str | tuple | type | unicode | xrange)
579-
\b\s*(?!(\())
579+
\b(?!(\s*\())
580580
581581
character-class:
582582
patterns:

PythonImproved.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@
15961596
bool | buffer | bytearray | bytes | complex | dict | float |
15971597
frozenset | int | list | long | memoryview | object | property |
15981598
range | set | slice | str | tuple | type | unicode | xrange)
1599-
\b\s*(?!(\())</string>
1599+
\b(?!(\s*\())</string>
16001600
<key>name</key>
16011601
<string>support.type.python</string>
16021602
</dict>

0 commit comments

Comments
 (0)