Skip to content

Commit b38db21

Browse files
author
MattDMo
committed
Remove meta.dotted-name.python scope from dotted_name repo
1 parent 095560e commit b38db21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PythonImproved-Unicode.YAML-tmLanguage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,9 +578,9 @@ repository:
578578
- include: '#string_quoted_single'
579579

580580
dotted_name:
581-
begin: (?x)(?=(?:\.(?!\s+import)\s*)?[\p{Alpha}_][\p{Alnum}_]*(?:\s*\.\s*[\p{Alpha}_][\p{Alnum}_]*)*)
582-
end: (?x)(?![\p{Alnum}_\.\s])|(?=(?<!\.)\s+[^.])|$
583-
contentName: meta.dotted-name.python
581+
begin: (?=(?:\.(?!\s+import)\s*)?[\p{Alpha}_][\p{Alnum}_]*(?:\s*\.\s*[\p{Alpha}_][\p{Alnum}_]*)*)
582+
end: (?![\p{Alnum}_\.\s])|(?=(?<!\.)\s+[^.])|$
583+
# contentName: meta.dotted-name.python
584584
patterns:
585585
- begin: (\.)(?=[\p{Alpha}_][\p{Alnum}_]*)
586586
beginCaptures:

0 commit comments

Comments
 (0)