summaryrefslogtreecommitdiff
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-06-29 21:28:32 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-01 22:50:33 +0200
commit6d5b4f19f37ec88d0fd3632a20c80d6d9bded112 (patch)
tree309858c0a19fd78c6537e7abf3d03d0f8b82765f /queries/python/highlights.scm
parentb8d7853b88e8ce4e6710a57b89d15910614ac1ad (diff)
python(highlights): don't use type for APP
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 2ea7c7db..b97af471 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]*$"))