Skip to content

Commit 4c7a84c

Browse files
author
Matt Morrison
committed
removed PIL exception from constant.other.allcaps
1 parent 9dde3ca commit 4c7a84c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PythonImproved.YAML-tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ patterns:
4141
'1': {name: punctuation.definition.comment.python}
4242

4343
- name: constant.other.allcaps.python
44-
match: \b(?!\bPIL\b)([A-Z_][A-Z0-9_]*)\b(?!\()
45-
comment: Match identifiers in ALL_CAPS as constants. Built-in exception for PIL module.
44+
match: \b([A-Z_][A-Z0-9_]*)\b(?!\()
45+
comment: Match identifiers in ALL_CAPS as constants.
4646

4747
- name: constant.numeric.integer.long.hexadecimal.python
4848
match: \b(?i:(0x\h*)L)

0 commit comments

Comments
 (0)