diff options
author | hut <hut@lavabit.com> | 2011-02-17 22:17:17 +0000 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-02-17 22:17:17 +0000 |
commit | f51fc9f68bba0e0b2be754919fe30404573dbb43 (patch) | |
tree | a41ddddd296df10db913436d48675fc9faf000f1 /ranger | |
parent | 98f3d9581026f6cbd6827f21b126873b8fad4813 (diff) | |
download | ranger-f51fc9f68bba0e0b2be754919fe30404573dbb43.tar.gz |
data/scope.sh: support for highlight 3.3
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index ba8b78bc..9458a52c 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -54,7 +54,7 @@ esac case "$mimetype" in # Syntax highlight for text files: text/* | */xml) - highlight --ansi "$path" | head -n $maxln + highlight --out-format=ansi "$path" | head -n $maxln success && exit 5 || exit 2;; # Ascii-previews of images: image/*) |