mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
31 lines
769 B
YAML
31 lines
769 B
YAML
filetype: groff
|
|
|
|
detect:
|
|
filename: "\\.m[ems]$|\\.rof|\\.tmac$|^tmac."
|
|
|
|
rules:
|
|
- statement: "^\\.(ds|nr) [^[[:space:]]]*"
|
|
- constant.specialChar: "\\\\."
|
|
- constant.specialChar: "\\\\f.|\\\\f\\(..|\\\\s(\\+|\\-)?[0-9]"
|
|
- constant: "(\\\\|\\\\\\\\)n(.|\\(..)"
|
|
- constant:
|
|
start: "(\\\\|\\\\\\\\)n\\["
|
|
end: "]"
|
|
rules: []
|
|
|
|
- type: "^\\.[[:space:]]*[^[[:space:]]]*"
|
|
- comment: "^\\.\\\\\".*$"
|
|
- constant.string: "(\\\\|\\\\\\\\)\\*(.|\\(..)"
|
|
- constant.string:
|
|
start: "(\\\\|\\\\\\\\)\\*\\["
|
|
end: "]"
|
|
rules: []
|
|
|
|
- constant.specialChar: "\\\\\\(.."
|
|
- constant.specialChar:
|
|
start: "\\\\\\["
|
|
end: "]"
|
|
rules: []
|
|
|
|
- identifier.macro: "\\\\\\\\\\$[1-9]"
|