aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/highlights.scm')
-rw-r--r--queries/python/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 2ea7c7db1..b97af471a 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -9,7 +9,7 @@
;; Identifier naming conventions
((identifier) @type
- (#match? @type "^[A-Z]"))
+ (#match? @type "^[A-Z].*[a-z]"))
((identifier) @constant
(#match? @constant "^[A-Z][A-Z_0-9]*$"))