File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "foldingStopMarker" : " (}|\\ ))\\ s*$" ,
1010 "patterns" : [
1111 {
12- "comment" : " Block comments" ,
13- "begin" : " /\\ *" ,
14- "end" : " \\ */" ,
15- "captures" : {
16- "0" : {
17- "name" : " punctuation.definition.comment.go"
18- }
19- },
20- "name" : " comment.block.go"
21- },
22- {
23- "comment" : " Line comments" ,
24- "begin" : " //" ,
25- "beginCaptures" : {
26- "0" : {
27- "name" : " punctuation.definition.comment.go"
28- }
29- },
30- "end" : " $" ,
31- "name" : " comment.line.double-slash.go"
12+ "include" : " #comments"
3213 },
3314 {
3415 "comment" : " Interpreted string literals" ,
219200 "name" : " punctuation.definition.string.end.go"
220201 }
221202 }
203+ },
204+ {
205+ "include" : " #comments"
222206 }
223207 ],
224208 "end" : " \\ )" ,
351335 }
352336 ]
353337 },
338+ "comments" : {
339+ "patterns" : [
340+ {
341+ "begin" : " /\\ *" ,
342+ "end" : " \\ */" ,
343+ "captures" : {
344+ "0" : {
345+ "name" : " punctuation.definition.comment.go"
346+ }
347+ },
348+ "name" : " comment.block.go"
349+ },
350+ {
351+ "begin" : " //" ,
352+ "beginCaptures" : {
353+ "0" : {
354+ "name" : " punctuation.definition.comment.go"
355+ }
356+ },
357+ "end" : " $" ,
358+ "name" : " comment.line.double-slash.go"
359+ }
360+ ]
361+ },
354362 "delimiters" : {
355363 "patterns" : [
356364 {
You can’t perform that action at this time.
0 commit comments