summaryrefslogtreecommitdiff
path: root/.config/ranger/scope.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/ranger/scope.sh')
-rwxr-xr-x.config/ranger/scope.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh
index bfd4e78..0085d68 100755
--- a/.config/ranger/scope.sh
+++ b/.config/ranger/scope.sh
@@ -41,9 +41,9 @@ FILE_EXTENSION_LOWER="$(printf "%s" "${FILE_EXTENSION}" | tr '[:upper:]' '[:lowe
## Settings
HIGHLIGHT_SIZE_MAX=262143 # 256KiB
HIGHLIGHT_TABWIDTH=${HIGHLIGHT_TABWIDTH:-8}
-HIGHLIGHT_STYLE=${HIGHLIGHT_STYLE:-pablo}
+HIGHLIGHT_STYLE=${HIGHLIGHT_STYLE:-nord}
HIGHLIGHT_OPTIONS="--replace-tabs=${HIGHLIGHT_TABWIDTH} --style=${HIGHLIGHT_STYLE} ${HIGHLIGHT_OPTIONS:-}"
-PYGMENTIZE_STYLE=${PYGMENTIZE_STYLE:-autumn}
+#PYGMENTIZE_STYLE=${PYGMENTIZE_STYLE:-nord}
OPENSCAD_IMGSIZE=${RNGR_OPENSCAD_IMGSIZE:-1000,1000}
OPENSCAD_COLORSCHEME=${RNGR_OPENSCAD_COLORSCHEME:-Tomorrow Night}
@@ -299,7 +299,7 @@ handle_mime() {
fi
if [[ "$( tput colors )" -ge 256 ]]; then
local pygmentize_format='terminal256'
- local highlight_format='xterm256'
+ local highlight_format='ansi'
else
local pygmentize_format='terminal'
local highlight_format='ansi'
@@ -307,7 +307,7 @@ handle_mime() {
env HIGHLIGHT_OPTIONS="${HIGHLIGHT_OPTIONS}" highlight \
--out-format="${highlight_format}" \
--force -- "${FILE_PATH}" && exit 5
- env COLORTERM=8bit bat --color=always --style="plain" \
+ env COLORTERM=8bit bat --color=always --style="nord" \
-- "${FILE_PATH}" && exit 5
pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}"\
-- "${FILE_PATH}" && exit 5