PSRule-vscode/syntaxes/keywords.json

20 строки
591 B
JSON

{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"scopeName": "PSRule-powershell-keywords",
"injectionSelector": "meta.scriptblock.powershell",
"patterns": [
{
"include": "source.powershell#commentLine"
},
{
"include": "#built-in-keyword"
}
],
"repository": {
"built-in-keyword": {
"match": "(?>^\\s*|\\|\\s*)\\b(?i:AllOf|AnyOf|Exists|Match|Within|TypeOf|Recommend|Reason)\\b",
"name": "keyword.control.powershell"
}
}
}