summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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/*)
d0b0'>^
bae22d72 ^



30012350 ^



5c058ad6 ^


bae22d72 ^


30012350 ^



1694f9a3 ^

30012350 ^




34ac52cb ^
30012350 ^






bae22d72 ^
492fb278 ^






















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69