From 5ab25d8a1f759d6d0a825acc653f2d1c2679e0df Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Fri, 21 Apr 2023 20:45:47 -0400 Subject: fix(python,starlark): update field match pattern --- queries/python/highlights.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'queries/python') 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 -- cgit v1.2.3-70-g09d2