{ "fileTypes": [ "man", "groff" ], "name": "Man Page (groff/troff)", "patterns": [ { "comment": "comments", "match": "^\\.\\\\\".*$", "name": "comment.macro.text.groff" }, { "begin": "^(\\.UR)\\b(.*)$", "beginCaptures": { "1": { "name": "keyword.text.groff" }, "2": { "name": "constant.other.text.groff" } }, "comment": "email address macro", "end": "^(\\.UE)", "endCaptures": { "1": { "name": "keyword.text.groff" } }, "name": "uri.macro.text.groff", "patterns": [ { "match": ".", "name": "string.text.groff" } ] }, { "begin": "^(\\.MT)\\b(.*)$", "beginCaptures": { "1": { "name": "keyword.text.groff" }, "2": { "name": "constant.other.text.groff" } }, "comment": "email address macro", "end": "^(\\.ME)", "endCaptures": { "1": { "name": "keyword.text.groff" } }, "name": "emailaddress.macro.text.groff", "patterns": [ { "match": ".", "name": "string.text.groff" } ] }, { "captures": { "1": { "name": "keyword.text.groff" }, "2": { "name": "support.constant.text.groff" }, "3": { "name": "string.text.groff" } }, "comment": "text style macros", "match": "^(\\.OP)\\s([^\\s]+)\\s?(.*)$", "name": "option.macro.text.groff" }, { "begin": "^(\\.SM|\\.SB|\\.BI|\\.IB|\\.RI|\\.IR|\\.BR|\\.RB|\\.B|\\.I)\\b", "beginCaptures": { "1": { "name": "keyword.text.groff" } }, "comment": "text style macros", "end": "$", "name": "style.macro.text.groff", "patterns": [ { "comment": "catch-all", "match": ".", "name": "string.text.groff" } ] }, { "captures": { "1": { "name": "keyword.text.groff" }, "2": { "name": "entity.text.groff" } }, "comment": "marco catch-all", "match": "^(\\.[a-zA-Z]*\\s?)(\\s?.+)?$", "name": "macro.text.groff" } ], "scopeName": "text.groff", "uuid": "9f281c08-ae81-4ccd-b910-a67b17d1952e" }