From c9935112c8b66e23d2acd7584fecd8e99a281b14 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 25 Apr 2011 12:22:55 -0400 Subject: .compizsnap, .nanorc Track .compizsnap/* files (hurpdurp), only tracked the directory before. Use *.nanorc files from the nano 2.2.6 distribution. --- share/nano/groff.nanorc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 share/nano/groff.nanorc (limited to 'share/nano/groff.nanorc') diff --git a/share/nano/groff.nanorc b/share/nano/groff.nanorc new file mode 100644 index 0000000..02b82b8 --- /dev/null +++ b/share/nano/groff.nanorc @@ -0,0 +1,24 @@ +## Here is an example for groff. +## +syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac." +## The argument of .ds or .nr +color cyan "^\.(ds|nr) [^[[:space:]]]*" +## Single character escapes +color brightmagenta "\\." +## Highlight the argument of \f or \s in the same color +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]" -- cgit v1.2.3-2-g168b