diff --git a/modules/lang/json/doctor.el b/modules/lang/json/doctor.el index 5578829e2..f1dc3009a 100644 --- a/modules/lang/json/doctor.el +++ b/modules/lang/json/doctor.el @@ -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." ))