diff options
-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/*) |