diff options
author | toonn <toonn@toonn.io> | 2019-12-20 00:15:44 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-12-20 00:15:44 +0100 |
commit | 4d3e3b8c29039b423eec18fa1a63d61e39f63e48 (patch) | |
tree | d87541bacb38d0df6a7a92a6ea15a8418ac975af /ranger | |
parent | 318dc56ef54b7694e38b20a8f1debd3995e657f4 (diff) | |
download | ranger-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-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 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;; |