File tree Expand file tree Collapse file tree 2 files changed +91
-370
lines changed
Expand file tree Collapse file tree 2 files changed +91
-370
lines changed Original file line number Diff line number Diff line change 102102 ' 2' :
103103 ' name' : ' punctuation.definition.bracket.angle.end.jsdoc'
104104 }
105- {
106- # Highlighted JavaScript example
107- ' match' : ' [^\\ s@*](?:[^*]|\\ *[^/])*'
108- ' captures' :
109- ' 0' :
110- ' name' : ' source.embedded.js'
111- ' patterns' : [
112- {
113- ' include' : ' source.js'
114- }
115- ]
116- }
117105 ]
118106 }
119107 {
262250 {
263251 ' name' : ' variable.other.jsdoc'
264252 ' begin' : ' \\ ['
265- ' end' : ' \\ ]|(?=\\ */)'
253+ ' end' : ' \\ ](?= \\ s*([ \\ w-]|$| \\ */)) |(?=\\ */)'
266254 ' patterns' : [
267255 {
268- ' match ' : ' (=)((?:[^ \\ ]*]| \\ *[^/])*) '
269- ' captures ' :
270- ' 1 ' :
256+ ' begin ' : ' = '
257+ ' beginCaptures ' :
258+ ' 0 ' :
271259 ' name' : ' keyword.operator.assignment.jsdoc'
272- ' 2' :
273- ' name' : ' source.embedded.js'
274- ' patterns' : [
275- {
276- ' include' : ' #inline-tags'
277- }
278- {
279- ' include' : ' source.js'
280- }
281- ]
282- }
283- {
284- ' include' : ' #brackets'
285- }
286- {
287- ' include' : ' #quotes'
260+ ' end' : ' (?=(\\ ]\\ s*([\\ w-]|$|\\ */))|\\ */)'
261+ ' patterns' : [
262+ {
263+ ' include' : ' #inline-tags'
264+ }
265+ ]
288266 }
289267 ]
290268 }
466444 ]
467445 }
468446 ]
469- # Balanced quotes
470- ' quotes' :
471- ' patterns' : [
472- {
473- ' begin' : " '"
474- ' end' : " '|(?=\\ */)"
475- ' patterns' : [
476- {
477- ' include' : ' #quotes'
478- }
479- ]
480- }
481- {
482- ' begin' : ' "'
483- ' end' : ' "|(?=\\ */)'
484- ' patterns' : [
485- {
486- ' include' : ' #quotes'
487- }
488- ]
489- }
490- ]
491447 # {type}
492448 ' type' :
493449 ' patterns' : [
You can’t perform that action at this time.
0 commit comments