diff options
author | rrt <rrt@sc3d.org> | 2016-06-07 22:32:42 +0100 |
---|---|---|
committer | rrt <rrt@sc3d.org> | 2016-06-07 22:32:42 +0100 |
commit | 1632edd8fbb7d824252bd12e52fe275234f45ec9 (patch) | |
tree | 6ce7d97c0286e80c2e08478ee5e41dc8bc526561 /external | |
parent | d72791b740c7ed59e17fb6e0d953ff84ae735af9 (diff) | |
download | pygments-1632edd8fbb7d824252bd12e52fe275234f45ec9.tar.gz |
autopygmentize: put MIME types back in sorted order
text/x-crystal was added out of order.
Also bump the copyright year.
Diffstat (limited to 'external')
-rwxr-xr-x | external/autopygmentize | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/autopygmentize b/external/autopygmentize index f18cac09..07cfdaa9 100755 --- a/external/autopygmentize +++ b/external/autopygmentize @@ -1,6 +1,6 @@ #!/bin/bash # Best effort auto-pygmentization with transparent decompression -# by Reuben Thomas 2008-2015 +# by Reuben Thomas 2008-2016 # This program is in the public domain. # Strategy: first see if pygmentize can find a lexer; if not, ask file; if that finds nothing, fail @@ -25,6 +25,7 @@ if [[ "$lexer" == text ]]; then text/x-awk) lexer=awk;; text/x-c) lexer=c;; text/x-c++) lexer=cpp;; + text/x-crystal) lexer=crystal;; text/x-diff) lexer=diff;; text/x-fortran) lexer=fortran;; text/x-gawk) lexer=gawk;; @@ -40,7 +41,6 @@ if [[ "$lexer" == text ]]; then text/x-po) lexer=po;; text/x-python) lexer=python;; text/x-ruby) lexer=ruby;; - text/x-crystal) lexer=crystal;; text/x-shellscript) lexer=sh;; text/x-tcl) lexer=tcl;; text/x-tex|text/x-texinfo) lexer=latex;; # FIXME: texinfo really needs its own lexer |