diff options
author | witchard <witchard@hotmail.co.uk> | 2017-02-18 20:18:44 +0000 |
---|---|---|
committer | witchard <witchard@hotmail.co.uk> | 2017-02-18 20:18:44 +0000 |
commit | 4452f14d50f695c4cfaa2d69038dde09a9754b71 (patch) | |
tree | f660a1ff9dbd0d826be786e613537d8054fd1d0e /pygments | |
parent | 1e51d66103e6bf3cb1f510687f99f84c467482b6 (diff) | |
download | pygments-4452f14d50f695c4cfaa2d69038dde09a9754b71.tar.gz |
Added support for text/x-shellscript mime type. Fixes #1332.
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/lexers/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py index ceb6f14d..dd869ef5 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -38,7 +38,7 @@ class BashLexer(RegexLexer): '*.exheres-0', '*.exlib', '*.zsh', '.bashrc', 'bashrc', '.bash_*', 'bash_*', 'zshrc', '.zshrc', 'PKGBUILD'] - mimetypes = ['application/x-sh', 'application/x-shellscript'] + mimetypes = ['application/x-sh', 'application/x-shellscript', 'text/x-shellscript'] tokens = { 'root': [ |