aboutsummaryrefslogtreecommitdiff
path: root/lf/.config
diff options
context:
space:
mode:
Diffstat (limited to 'lf/.config')
-rwxr-xr-xlf/.config/lf/scope2
1 files changed, 1 insertions, 1 deletions
diff --git a/lf/.config/lf/scope b/lf/.config/lf/scope
index c90f618..3498c39 100755
--- a/lf/.config/lf/scope
+++ b/lf/.config/lf/scope
@@ -25,7 +25,7 @@ case "$(file --dereference --brief --mime-type -- "$1")" in
image/*) image "$1" "$2" "$3" "$4" "$5" ;;
text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;;
text/troff) man ./ "$1" | col -b ;;
- text/* | */xml | application/json) bat -p --theme base16 --terminal-width "$4" -f "$1" ;;
+ text/* | */xml | application/json | application/javascript) bat -p --theme base16 --terminal-width "$4" -f "$1" ;;
application/zip) atool --list -- "$1" ;;
audio/* | application/octet-stream) mediainfo "$1" || exit 1;;
video/* )