Files
Basalt2/node_modules/shiki/languages/shellsession.tmLanguage.json
Robert Jelic 31787b0e9b Fix
2025-02-16 18:04:24 +01:00

31 lines
775 B
JSON

{
"name": "shellsession",
"scopeName": "text.shell-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"
}
]
}
}
},
{
"name": "meta.output.shell-session",
"match": "^.+$"
}
],
"fileTypes": ["sh-session"]
}