summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/lf.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lf.nix b/modules/lf.nix
index b0dd304..2dc71d1 100644
--- a/modules/lf.nix
+++ b/modules/lf.nix
@@ -27,7 +27,7 @@
27 open = '' 27 open = ''
28 %{{ 28 %{{
29 case $(file --mime-type -Lb $f) in 29 case $(file --mime-type -Lb $f) in
30 text/*) lf -remote "send $id \$$EDITOR \$fx";; 30 text/*|application/json) lf -remote "send $id \$$EDITOR \$fx";;
31 *) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;; 31 *) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
32 esac 32 esac
33 }} 33 }}