PSRule-vscode/syntaxes/comments.json

16 строки
333 B
JSON

{
"scopeName": "PSRule-powershell-comments",
"injectionSelector": "L:source.powershell",
"patterns": [
{
"include": "#synopsis-comment"
}
],
"repository": {
"synopsis-comment": {
"match": "(?<=^# )(Synopsis:|Description:)(?= )",
"name": "keyword.operator.documentation.powershell"
}
}
}