TextMate-style syntax highlighting in PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
784 B

{
"scopeName": "text.shell-session",
"name": "Shell Session",
"fileTypes": [
"sh-session"
],
"patterns": [
{
"match": "(?x) ^ (?: ( (?:\\(\\S+\\)\\s*)? (?: sh\\S*? | \\w+\\S+[@:]\\S+(?:\\s+\\S+)? | \\[\\S+?[@:][^\\n]+?\\].*? ) ) \\s* )? ( [>$#%❯➜] | \\p{Greek} ) \\s+ (.*) $",
"captures": {
"1": {
"name": "entity.other.prompt-prefix.shell-session"
},
"2": {
"name": "punctuation.separator.prompt.shell-session"
},
"3": {
"name": "source.shell",
"patterns": [
{
"include": "source.shell"
}
]
}
}
},
{
"match": "^.+$",
"name": "meta.output.shell-session"
}
]
}