Add lib reference syntax
This commit is contained in:
Родитель
ef418e5849
Коммит
7181bad9fa
|
@ -2342,7 +2342,7 @@ repository:
|
|||
|
||||
directives:
|
||||
name: comment.line.triple-slash.directive.ts
|
||||
begin: ^(///)\s*(?=<(reference|amd-dependency|amd-module)(\s+(path|types|no-default-lib|name)\s*=\s*({{quotedStrings}}))+\s*/>\s*$)
|
||||
begin: ^(///)\s*(?=<(reference|amd-dependency|amd-module)(\s+(path|types|no-default-lib|lib|name)\s*=\s*({{quotedStrings}}))+\s*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.comment.ts }
|
||||
end: (?=^)
|
||||
|
@ -2357,7 +2357,7 @@ repository:
|
|||
'0': { name: punctuation.definition.tag.directive.ts }
|
||||
patterns:
|
||||
- name: entity.other.attribute-name.directive.ts
|
||||
match: 'path|types|no-default-lib|name'
|
||||
match: 'path|types|no-default-lib|lib|name'
|
||||
- name: keyword.operator.assignment.ts
|
||||
match: '='
|
||||
- include: '#string'
|
||||
|
|
|
@ -6841,7 +6841,7 @@
|
|||
<key>name</key>
|
||||
<string>comment.line.triple-slash.directive.ts</string>
|
||||
<key>begin</key>
|
||||
<string>^(///)\s*(?=<(reference|amd-dependency|amd-module)(\s+(path|types|no-default-lib|name)\s*=\s*((\'([^\'\\]|\\\'|\\)*\')|(\"([^\"\\]|\\\"|\\)*\")))+\s*/>\s*$)</string>
|
||||
<string>^(///)\s*(?=<(reference|amd-dependency|amd-module)(\s+(path|types|no-default-lib|lib|name)\s*=\s*((\'([^\'\\]|\\\'|\\)*\')|(\"([^\"\\]|\\\"|\\)*\")))+\s*/>\s*$)</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
|
@ -6888,7 +6888,7 @@
|
|||
<key>name</key>
|
||||
<string>entity.other.attribute-name.directive.ts</string>
|
||||
<key>match</key>
|
||||
<string>path|types|no-default-lib|name</string>
|
||||
<string>path|types|no-default-lib|lib|name</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
|
|
|
@ -6787,7 +6787,7 @@
|
|||
<key>name</key>
|
||||
<string>comment.line.triple-slash.directive.tsx</string>
|
||||
<key>begin</key>
|
||||
<string>^(///)\s*(?=<(reference|amd-dependency|amd-module)(\s+(path|types|no-default-lib|name)\s*=\s*((\'([^\'\\]|\\\'|\\)*\')|(\"([^\"\\]|\\\"|\\)*\")))+\s*/>\s*$)</string>
|
||||
<string>^(///)\s*(?=<(reference|amd-dependency|amd-module)(\s+(path|types|no-default-lib|lib|name)\s*=\s*((\'([^\'\\]|\\\'|\\)*\')|(\"([^\"\\]|\\\"|\\)*\")))+\s*/>\s*$)</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
|
@ -6834,7 +6834,7 @@
|
|||
<key>name</key>
|
||||
<string>entity.other.attribute-name.directive.tsx</string>
|
||||
<key>match</key>
|
||||
<string>path|types|no-default-lib|name</string>
|
||||
<string>path|types|no-default-lib|lib|name</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
|
|
Загрузка…
Ссылка в новой задаче