aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm76
1 files changed, 31 insertions, 45 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 0b6e30033..cc11a5bd2 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -3,31 +3,32 @@
; Identifier naming conventions
-
-((import_from_statement
- name: (dotted_name
- (identifier)) @type)
- (match? @type "^[A-Z]"))
-
+(identifier) @Normal
((identifier) @type
(match? @type "^[A-Z]"))
-
((identifier) @constant
- (match? @constant "^[A-Z][A-Z_]*$"))