| 1 |
filetype: groff |
| 2 |
|
| 3 |
detect: |
| 4 |
filename: "\\.m[ems]$|\\.rof|\\.tmac$|^tmac." |
| 5 |
|
| 6 |
rules: |
| 7 |
- statement: "^\\.(ds|nr) [^[[:space:]]]*" |
| 8 |
- constant.specialChar: "\\\\." |
| 9 |
- constant.specialChar: "\\\\f.|\\\\f\\(..|\\\\s(\\+|\\-)?[0-9]" |
| 10 |
- constant: "(\\\\|\\\\\\\\)n(.|\\(..)" |
| 11 |
- constant: |
| 12 |
start: "(\\\\|\\\\\\\\)n\\[" |
| 13 |
end: "]" |
| 14 |
rules: [] |
| 15 |
|
| 16 |
- type: "^\\.[[:space:]]*[^[[:space:]]]*" |
| 17 |
- comment: "^\\.\\\\\".*$" |
| 18 |
- constant.string: "(\\\\|\\\\\\\\)\\*(.|\\(..)" |
| 19 |
- constant.string: |
| 20 |
start: "(\\\\|\\\\\\\\)\\*\\[" |
| 21 |
end: "]" |
| 22 |
rules: [] |
| 23 |
|
| 24 |
- constant.specialChar: "\\\\\\(.." |
| 25 |
- constant.specialChar: |
| 26 |
start: "\\\\\\[" |
| 27 |
end: "]" |
| 28 |
rules: [] |
| 29 |
|
| 30 |
- identifier.macro: "\\\\\\\\\\$[1-9]" |