summaryrefslogtreecommitdiff
path: root/doc/syntax/man.nanorc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 12:55:17 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-05 12:55:17 -0800
commit176336f2dedded583aa8d775e6f97ad25a293aa5 (patch)
tree35155f4aedb601ee1f5895b1e5aaa693c12d94df /doc/syntax/man.nanorc
downloadnano-176336f2dedded583aa8d775e6f97ad25a293aa5.tar.gz
nano-176336f2dedded583aa8d775e6f97ad25a293aa5.tar.bz2
nano-176336f2dedded583aa8d775e6f97ad25a293aa5.zip
Imported Upstream version 2.3.1upstream/2.3.1upstream
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)"