File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 6060 "embeddedSQL" : {
6161 "patterns" : [
6262 {
63- "begin" : " (?i)(&sql)(\\ ()" ,
63+ "begin" : " (?i)((?:&|##)sql)(\\ ()" ,
64+ "end" : " \\ )" ,
6465 "beginCaptures" : {
6566 "1" : { "name" : " keyword.special.sql.objectscript" },
6667 "2" : { "name" : " punctuation.objectscript" }
6768 },
68- "patterns " : [ { "include " : " source.sql " }] ,
69+ "endCaptures " : { "0 " : { "name" : " punctuation.objectscript " } } ,
6970 "contentName" : " meta.embedded.block.sql" ,
70- "end" : " \\ )"
71+ "applyEndPatternLast" : 1 ,
72+ "patterns" : [
73+ { "include" : " #embeddedSQL-brackets" },
74+ { "include" : " source.sql" }
75+ ]
7176 }
72- ]
77+ ],
78+ "repository" : {
79+ "embeddedSQL-brackets" : {
80+ "begin" : " (?<=\\ ()(?!\\ G)" ,
81+ "end" : " \\ )" ,
82+ "patterns" : [
83+ { "include" : " #embeddedSQL-brackets" },
84+ { "include" : " source.sql" }
85+ ]
86+ }
87+ }
7388 },
7489 "embeddedJS" : {
7590 "patterns" : [
You can’t perform that action at this time.
0 commit comments