summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-02-17 22:17:17 +0000
committerhut <hut@lavabit.com>2011-02-17 22:17:17 +0000
commitf51fc9f68bba0e0b2be754919fe30404573dbb43 (patch)
treea41ddddd296df10db913436d48675fc9faf000f1 /ranger
parent98f3d9581026f6cbd6827f21b126873b8fad4813 (diff)
downloadranger-f51fc9f68bba0e0b2be754919fe30404573dbb43.tar.gz
data/scope.sh: support for highlight 3.3
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/data/scope.sh2
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/*)