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 33 "scopeName" : " source.svelte" ,
44 "fileTypes" : [" svelte" ],
55 "uuid" : " 7582b62f-51d9-4a84-8c8d-fc189530faf6" ,
6+
67 "patterns" : [
78 {
89 "begin" : " (<)(style)\\ b(?=[^>]*(?:type=('text/sass'|\" text/sass\" )|lang=(sass|'sass'|\" sass\" )))(?![^/>]*/>\\ s*$)" ,
540541 ]
541542 },
542543 {
543- "begin" : " (</?)([a-zA-Z ][a-zA-Z0-9:-]*)" ,
544+ "begin" : " (</?)([a-z ][a-zA-Z0-9:-]*)" ,
544545 "beginCaptures" : {
545546 "1" : {
546547 "name" : " punctuation.definition.tag.begin.html"
562563 }
563564 ]
564565 },
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+ },
565592 {
566593 "begin" : " <!--" ,
567594 "end" : " -->" ,
You can’t perform that action at this time.
0 commit comments