Welcome to mirror list, hosted at ThFree Co, Russian Federation.

groff.nanorc - github.com/serialhex/nano-highlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55ecf433fad17ba033cd9a5caf96aa5e2d363055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."

## Argument of .ds or .nr
color cyan "^\.(ds|nr) [^[[:space:]]]*"

## Single character escapes
color brightmagenta "\\."

## Argument of \f or \s
color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"

## Newlines
color cyan "(\\|\\\\)n(.|\(..)"
color cyan start="(\\|\\\\)n\[" end="]"

## Requests
color brightgreen "^\.[[:space:]]*[^[[:space:]]]*"

## Comments
color yellow "^\.\\".*$"

## Strings
color green "(\\|\\\\)\*(.|\(..)"
color green start="(\\|\\\\)\*\[" end="]"

## Characters
color brightred "\\\(.."
color brightred start="\\\[" end="]"

## Macro arguments
color brightcyan "\\\\\$[1-9]"