File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
packages/svelte-vscode/syntaxes Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 3
3
"scopeName" : " source.svelte" ,
4
4
"fileTypes" : [" svelte" ],
5
5
"uuid" : " 7582b62f-51d9-4a84-8c8d-fc189530faf6" ,
6
+
6
7
"patterns" : [
7
8
{
8
9
"begin" : " (<)(style)\\ b(?=[^>]*(?:type=('text/sass'|\" text/sass\" )|lang=(sass|'sass'|\" sass\" )))(?![^/>]*/>\\ s*$)" ,
540
541
]
541
542
},
542
543
{
543
- "begin" : " (</?)([a-zA-Z ][a-zA-Z0-9:-]*)" ,
544
+ "begin" : " (</?)([a-z ][a-zA-Z0-9:-]*)" ,
544
545
"beginCaptures" : {
545
546
"1" : {
546
547
"name" : " punctuation.definition.tag.begin.html"
562
563
}
563
564
]
564
565
},
566
+ {
567
+ "begin" : " (</?)([A-Z][a-zA-Z0-9:-]*)" ,
568
+ "beginCaptures" : {
569
+ "1" : {
570
+ "name" : " punctuation.definition.tag.begin.html"
571
+ },
572
+ "2" : {
573
+ "name" : " support.class.component.tsx"
574
+ }
575
+ },
576
+ "end" : " (/?>)" ,
577
+ "endCaptures" : {
578
+ "1" : {
579
+ "name" : " punctuation.definition.tag.end.html"
580
+ },
581
+ "2" : {
582
+ "name" : " support.class.component.tsx"
583
+ }
584
+ },
585
+ "name" : " meta.tag.svelte" ,
586
+ "patterns" : [
587
+ {
588
+ "include" : " #tag-stuff"
589
+ }
590
+ ]
591
+ },
565
592
{
566
593
"begin" : " <!--" ,
567
594
"end" : " -->" ,
You can’t perform that action at this time.
0 commit comments