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