Skip to content

Commit ce04766

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonImproved.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ patterns:
4242
'1': {name: punctuation.definition.comment.python}
4343

4444
- name: constant.other.allcaps.python
45-
match: \b([A-Z_][A-Z0-9_]*)\b(?!\()
45+
match: \b([A-Z_][A-Z0-9_]*)\b(?![\.|\(])
4646
comment: Match identifiers in ALL_CAPS as constants.
4747

4848
- name: constant.numeric.integer.long.hexadecimal.python

0 commit comments

Comments
 (0)