Skip to content

Commit dd6cb15

Browse files
author
MattDMo
committed
Change allcaps to not highlight if there is a trailing . as well as trailing (
1 parent ce04766 commit dd6cb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonImproved.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<key>comment</key>
116116
<string>Match identifiers in ALL_CAPS as constants.</string>
117117
<key>match</key>
118-
<string>\b([A-Z_][A-Z0-9_]*)\b(?!\()</string>
118+
<string>\b([A-Z_][A-Z0-9_]*)\b(?![\.|\(])</string>
119119
<key>name</key>
120120
<string>constant.other.allcaps.python</string>
121121
</dict>

0 commit comments

Comments
 (0)