mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-13 22:37:21 +03:00
b00d0b9c8c
* Initial libmagic implementation, adapted from Eitan Adler <eitanadlerlist@gmail.com>. New nanorc entry "magic" to enable this functionality, nanorc file and man page updates. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4528 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
11 lines
305 B
Plaintext
11 lines
305 B
Plaintext
## 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)"
|