This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / groff.nanorc
1 ## Here is an example for groff.
2 ##
3 syntax "Groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
4 comment ".\""
5
6 ## The argument of .ds or .nr
7 color cyan "^\.(ds|nr) [^[[:space:]]]*"
8 ## Single character escapes
9 color brightmagenta "\\."
10 ## Highlight the argument of \f or \s in the same color
11 color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"
12 ## Newlines
13 color cyan "(\\|\\\\)n(.|\(..)"
14 color cyan start="(\\|\\\\)n\[" end="]"
15 ## Requests
16 color brightgreen "^\.[[:space:]]*[^[[:space:]]]*"
17 ## Comments
18 color yellow "^\.\\".*$"
19 ## Strings
20 color green "(\\|\\\\)\*(.|\(..)"
21 color green start="(\\|\\\\)\*\[" end="]"
22 ## Characters
23 color brightred "\\\(.."
24 color brightred start="\\\[" end="]"
25 ## Macro arguments
26 color brightcyan "\\\\\$[1-9]"