File tree 1 file changed +11
-15
lines changed
1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -453,27 +453,23 @@ repository:
453
453
end : $
454
454
patterns :
455
455
- include : $self
456
- - begin : ^\s*(\|)(([^\[]*?)((?<!\|)\|(?!\|)))?
457
- # name: string.quoted.wikitext
456
+ - begin : ^\s*(\|)
458
457
end : $
459
458
beginCaptures :
460
459
1 :
461
460
name : punctuation.definition.tag.wikitext
462
- 3 :
463
- patterns :
464
- - include : $self
465
- - include : text.html.basic#attribute
466
- 4 :
467
- name : punctuation.definition.tag.wikitext
468
- # patterns:
469
- # - include: text.html.basic#attribute
470
- # 3:
471
- # name: punctuation.definition.tag.wikitext
472
461
patterns :
473
- - include : $self
462
+ - match : \s*([^\|]+)\s*(?<!\|)(\|)(?!\|)
463
+ captures :
464
+ 1 :
465
+ patterns :
466
+ - include : $self
467
+ - include : text.html.basic#attribute
468
+ 2 :
469
+ name : punctuation.definition.tag.wikitext
474
470
- match : \|\|
475
- name : keyword.operator .wikitext
476
- # - include: text.html.basic#attribute
471
+ name : punctuation.definition.tag .wikitext
472
+ - include : $self
477
473
wikixml :
478
474
patterns :
479
475
- include : ' #wiki-self-closed-tags'
You can’t perform that action at this time.
0 commit comments