PSRule-vscode/syntaxes/rule.json

16 строки
290 B
JSON

{
"scopeName": "PSRule-powershell-rule",
"injectionSelector": "L:source.powershell",
"patterns": [
{
"include": "#rule-keyword"
}
],
"repository": {
"rule-keyword": {
"match": "(?<=^)(?i)(rule)(?=\\s+)",
"name": "storage.type.powershell"
}
}
}