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.
26 lines
453 B
26 lines
453 B
3 years ago
|
{
|
||
|
"scopeName": "text.python.console",
|
||
|
"name": "Python Console",
|
||
|
"fileTypes": [
|
||
|
"doctest",
|
||
|
"pycon"
|
||
|
],
|
||
|
"patterns": [
|
||
|
{
|
||
|
"match": "^(>{3}|\\.{3}|In \\[\\d+\\]:) (.+)$",
|
||
|
"captures": {
|
||
|
"1": {
|
||
|
"name": "punctuation.separator.prompt.python.console"
|
||
|
},
|
||
|
"2": {
|
||
|
"patterns": [
|
||
|
{
|
||
|
"include": "source.python"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|