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.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 30747b1fa..5496263f0 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -29,7 +29,7 @@
((attribute
attribute: (identifier) @field)
- (#lua-match? @field "^%u@!.*$"))
+ (#lua-match? @field "^.*%l.*$"))
((identifier) @type.builtin
(#any-of? @type.builtin
@@ -324,14 +324,14 @@
(expression_statement
(assignment
left: (identifier) @field))))
- (#lua-match? @field "^%u@!.*$"))
+ (#lua-match? @field "^%l.*$"))
((class_definition
body: (block
(expression_statement
(assignment
left: (_
(identifier) @field)))))
- (#lua-match? @field "^%u@!.*$"))
+ (#lua-match? @field "^%l.*$"))
((class_definition
(block