diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh index 95ffdb9..1dadeb1 100755 --- a/.config/ranger/scope.sh +++ b/.config/ranger/scope.sh @@ -294,7 +294,7 @@ handle_mime() { exit 1;; ## Text - text/* | */xml) + text/*|*/xml|application/javascript) ## Syntax highlight if [[ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]]; then exit 2