diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 956b1d19c..c18b74867 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -29,7 +29,7 @@ ((attribute attribute: (identifier) @field) - (#lua-match? @field "^.*%l.*$")) + (#lua-match? @field "^[%l_].*$")) ((assignment left: (identifier) @type.definition