2011-02-12 Chris Allegretta <chrisa@asty.org>

* 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
This commit is contained in:
Chris Allegretta
2011-02-13 04:23:10 +00:00
parent 637daa85c5
commit b00d0b9c8c
19 changed files with 189 additions and 18 deletions
+1
View File
@@ -1,6 +1,7 @@
## Here is an example for patch files.
##
syntax "patch" "\.(patch|diff)$"
magic "diff output text"
color brightgreen "^\+.*"
color green "^\+\+\+.*"
color brightblue "^ .*"