summaryrefslogtreecommitdiff
path: root/doc/syntax/man.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/man.nanorc')
-rw-r--r--doc/syntax/man.nanorc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/syntax/man.nanorc b/doc/syntax/man.nanorc
new file mode 100644
index 0000000..0dfa6fe
--- /dev/null
+++ b/doc/syntax/man.nanorc
@@ -0,0 +1,10 @@
+## Here is an example for manpages.
+##
+syntax "man" "\.[1-9]x?$"
+magic "troff or preprocessor input text"
+color green "\.(S|T)H.*$"
+color brightgreen "\.(S|T)H" "\.TP"
+color brightred "\.(BR?|I[PR]?).*$"
+color brightblue "\.(BR?|I[PR]?|PP)"
+color brightwhite "\\f[BIPR]"
+color yellow "\.(br|DS|RS|RE|PD)"