From 5d6af88dd7f3e9befe5b577053db65aceee03aaf Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Thu, 11 Apr 2024 20:39:26 -0700 Subject: [PATCH] [language-python] Fix highlighting of some constructors --- packages/language-python/grammars/ts/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/language-python/grammars/ts/highlights.scm b/packages/language-python/grammars/ts/highlights.scm index 03e8db484..0e1c7a5ec 100644 --- a/packages/language-python/grammars/ts/highlights.scm +++ b/packages/language-python/grammars/ts/highlights.scm @@ -37,13 +37,13 @@ (call function: (identifier) @support.type.constructor.python - (#match? @support.type.constructor.python "^[A-Z][a-z_]+") + (#match? @support.type.constructor.python "^[A-Z][A-Za-z_]+") (#set! capture.final true)) (call function: (attribute attribute: (identifier) @support.type.constructor.python) - (#match? @support.type.constructor.python "^[A-Z][a-z_]+") + (#match? @support.type.constructor.python "^[A-Z][A-Za-z_]+") (#set! capture.final true)) (call