summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorrrt <rrt@sc3d.org>2016-06-07 22:32:42 +0100
committerrrt <rrt@sc3d.org>2016-06-07 22:32:42 +0100
commit0e7f6acac845699634625cc6d5d8865b0d6c88ab (patch)
treee569e7740780f258b1e1fd4405526e1a02c372f3 /external
parente182fdff6874073b155fdf75e84cef7cd214fa4e (diff)
downloadpygments-git-0e7f6acac845699634625cc6d5d8865b0d6c88ab.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-xexternal/autopygmentize4
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