Merge pull request #5162 from iyefrat/json

lang/json/doctor: only check for jq if ivy is on
This commit is contained in:
Henrik Lissner 2021-07-08 18:01:43 -04:00 committed by GitHub
commit 715cabe54f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
;;; lang/json/doctor.el -*- lexical-binding: t; -*-
(unless (executable-find "jq")
(warn! "Couldn't find jq. counsel-jq won't work."))
(when (and (featurep! :completion ivy)
(not (executable-find "jq")))
(warn! "Couldn't find jq. counsel-jq won't work." ))