UNPKG

tm-grammars

Version:
41 lines (40 loc) 753 B
{ "displayName": "CODEOWNERS", "name": "codeowners", "patterns": [ { "include": "#comment" }, { "include": "#pattern" }, { "include": "#owner" } ], "repository": { "comment": { "patterns": [ { "begin": "^\\s*#", "captures": { "0": { "name": "punctuation.definition.comment.codeowners" } }, "end": "$", "name": "comment.line.codeowners" } ] }, "owner": { "match": "\\S*@\\S+", "name": "storage.type.function.codeowners" }, "pattern": { "match": "^\\s*(\\S+)", "name": "variable.other.codeowners" } }, "scopeName": "text.codeowners" }