src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/vscode/syntaxes/elvish-transcript.tmLanguage.json (about)

     1  {
     2  	"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
     3  	"name": "Elvish transcript",
     4  	"scopeName": "source.elvish-transcript",
     5  	"fileTypes": [
     6  		"elvts"
     7  	],
     8  	"patterns": [
     9  		{
    10  			"begin": "(^|\\G)[~/][^ ]*> ",
    11  			"while": "(^|\\G)   ",
    12  			"contentName": "meta.embedded.block.elvish",
    13  			"patterns": [
    14  				{
    15  					"include": "source.elvish"
    16  				}
    17  			]
    18  		},
    19  		{
    20  			"name": "markup.heading.1.elvish-transcript",
    21  			"match": "(^|\\G)# .* #$"
    22  		},
    23  		{
    24  			"name": "markup.heading.2.elvish-transcript",
    25  			"match": "(^|\\G)## .* ##$"
    26  		},
    27  		{
    28  			"name": "comment.line.double-slash.elvish-transcript",
    29  			"match": "(^|\\G)//.*$"
    30  		}
    31  	]
    32  }