This commit is contained in:
Leandro Afonso
2025-09-27 18:39:59 +01:00
commit f0cdef9259
1220 changed files with 77975 additions and 0 deletions

30
micro/syntax/groff.yaml Normal file
View File

@@ -0,0 +1,30 @@
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]"