lang/json/doctor: only check for jq if ivy is on

since `counsel-jq` is only relevant for ivy
This commit is contained in:
Itai Y. Efrat 2021-06-09 13:42:26 +03:00
parent 2731685095
commit 5c54ae1329

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." ))