mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 08:37:12 +00:00
Add manually converted syntax
This commit is contained in:
parent
2e1e30705a
commit
c97aa55163
1 changed files with 7 additions and 0 deletions
|
@ -3084,6 +3084,13 @@ contexts:
|
||||||
captures:
|
captures:
|
||||||
0: meta.brace.square.ts
|
0: meta.brace.square.ts
|
||||||
pop: true
|
pop: true
|
||||||
|
- match: \.\.\.
|
||||||
|
scope: keyword.operator.rest.ts
|
||||||
|
- match: '(?<![_$[:alnum:]])(?:(?<=\.\.\.)|(?<!\.))([_$[:alpha:]][_$[:alnum:]]*)\s*(\?)?\s*(:)'
|
||||||
|
captures:
|
||||||
|
1: entity.name.label.ts
|
||||||
|
2: keyword.operator.optional.ts
|
||||||
|
3: punctuation.separator.label.ts
|
||||||
- include: type
|
- include: type
|
||||||
- include: punctuation-comma
|
- include: punctuation-comma
|
||||||
typeof-operator:
|
typeof-operator:
|
||||||
|
|
Loading…
Reference in a new issue