diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-04-25 12:22:55 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-04-25 12:22:55 -0400 |
commit | c9935112c8b66e23d2acd7584fecd8e99a281b14 (patch) | |
tree | 218ebbeb47e5a77620de5af597833522304d92c3 /share/nano/groff.nanorc | |
parent | 9b77ce1433aa790e174947dc33745926965ee4a1 (diff) |
.compizsnap, .nanorc
Track .compizsnap/* files (hurpdurp), only tracked the directory before.
Use *.nanorc files from the nano 2.2.6 distribution.
Diffstat (limited to 'share/nano/groff.nanorc')
-rw-r--r-- | share/nano/groff.nanorc | 24 |
1 files changed, 24 insertions, 0 deletions
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]" |