bruno/packages/bruno-vscode-extension/syntaxes/bruno.tmLanguage.json

45 lines
850 B
JSON
Raw Normal View History

2023-01-10 05:37:30 +01:00
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "bruno",
"patterns": [
{
"include": "#keywords"
},
{
"include": "#strings"
},
{
"include": "#script-block"
2023-01-10 05:37:30 +01:00
}
],
"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"
2023-01-10 05:37:30 +01:00
}]
},
"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"
}
]
2023-01-10 05:37:30 +01:00
}
},
"scopeName": "source.bru"
}