summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/data/scope.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index 8e0a0f6d..64f55a12 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -186,6 +186,9 @@ handle_mime() {
             fi
             highlight --replace-tabs="${HIGHLIGHT_TABWIDTH}" --out-format="${highlight_format}" \
                 --style="${HIGHLIGHT_STYLE}" --force -- "${FILE_PATH}" && exit 5
+                
+            # env COLORTERM=$pygmentize_format  bat --color=always  --style="plain"  "${FILE_PATH}" && exit 5
+
             # pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}" -- "${FILE_PATH}" && exit 5
             exit 2;;