mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-08 17:14:22 +01:00
45 lines
850 B
JSON
45 lines
850 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
"name": "bruno",
|
|
"patterns": [
|
|
{
|
|
"include": "#keywords"
|
|
},
|
|
{
|
|
"include": "#strings"
|
|
},
|
|
{
|
|
"include": "#script-block"
|
|
}
|
|
],
|
|
"repository": {
|
|
"keywords": {
|
|
"patterns": [{
|
|
"name": "keyword.control.bruno",
|
|
"match": "\\b(ver|type|name|method|url|params|body-mode|body|script|assert|vars|response-example|readme)\\b"
|
|
}]
|
|
},
|
|
"strings": {
|
|
"name": "string.quoted.double.bruno",
|
|
"begin": "\"",
|
|
"end": "\"",
|
|
"patterns": [
|
|
{
|
|
"name": "constant.character.escape.bruno",
|
|
"match": "\\\\."
|
|
}
|
|
]
|
|
},
|
|
"script-block": {
|
|
"name": "meta.script-block.bruno",
|
|
"begin": "script",
|
|
"end": "/script",
|
|
"patterns": [
|
|
{
|
|
"include": "source.js"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scopeName": "source.bru"
|
|
} |