commit 86d89991961afb793396ea6f8c972b0f59695572
parent 0086bde22334f21b85d0983a32a1d92b55a69967
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 25 Feb 2020 13:24:05 +0100
lf config
Former-commit-id: a076a8726574077f469ea9d38c2e53f71ab93ca4
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lf/lfrc b/lf/lfrc
@@ -33,7 +33,7 @@ set previewer ~/.config/lf/preview.sh
# text files and a file opener for the rest.
cmd open ${{
case $(file --mime-type $f -b) in
- text/*) $EDITOR $fx;;
+ text/*|application/json) $EDITOR $fx;;
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}