summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-12-20 00:15:44 +0100
committertoonn <toonn@toonn.io>2019-12-20 00:15:44 +0100
commit4d3e3b8c29039b423eec18fa1a63d61e39f63e48 (patch)
treed87541bacb38d0df6a7a92a6ea15a8418ac975af /ranger
parent318dc56ef54b7694e38b20a8f1debd3995e657f4 (diff)
downloadranger-4d3e3b8c29039b423eec18fa1a63d61e39f63e48.tar.gz
Uncomment bat for code highlighting
Our default behavior is to use a dependency whenever it's available.
Only things that would slow previews down too much are commented out by
default.
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 98fd43ee..27c08a4f 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -187,7 +187,7 @@ handle_mime() {
             highlight --replace-tabs="${HIGHLIGHT_TABWIDTH}" --out-format="${highlight_format}" \
                 --style="${HIGHLIGHT_STYLE}" --force -- "${FILE_PATH}" && exit 5
 
-            # env COLORTERM=8bit bat --color=always  --style="plain"  "${FILE_PATH}" && exit 5
+            env COLORTERM=8bit bat --color=always --style="plain" "${FILE_PATH}" && exit 5
 
             # pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}" -- "${FILE_PATH}" && exit 5
             exit 2;;